Click or drag to resize

ImageFileRemoveLines Method

This method removes the vertical and horizontal lines from the specified part of a BW page and returns a RemovedLines collection containing the removed lines.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void RemoveLines(
	ref IPRORECT Rect,
	[OptionalAttribute] int Page,
	out RemovedLines RemovedLines
)

Parameters

Rect
Type: Kofax.OmniPageCSDK.IproPlusIPRORECT
Page (Optional)
Type: SystemInt32
RemovedLines
Type: Kofax.OmniPageCSDK.IproPlusRemovedLines
Remarks

If the specified page is color or grayscale, no transformation is performed and Nothing is returned.

If the optional Page parameter is unspecified or -1 all pages will be processed. Otherwise only the one specified by the Page index is processed. To process the whole page, pass NULL (or Nothing) for the Rect parameter.

This method can only be used with multi-page image TIFF files. A further requirement is that the pages in the multi-page TIFF file must be stored in one-strip format and the StripBytesCount TIFF tag must exist in the page header. TIFF image files created by the Capture SDK fulfill this requirement.

See Also