Link Search Menu Expand Document

IRemoverRemoveText Method (Int32, Single, Single, Single, Single, Stream)

Removes all text objects located in or intersecting the specified rectangle.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
bool RemoveText(
	int pageIndex,
	float x,
	float y,
	float width,
	float height,
	Stream outputStream
)

Parameters

pageIndex
Type: SystemInt32
Document page index.
x
Type: SystemSingle
X coordinate of the rectangle.
y
Type: SystemSingle
Y coordinate of the rectangle.
width
Type: SystemSingle
Width of the rectangle.
height
Type: SystemSingle
Height of the rectangle.
outputStream
Type: System.IOStream
Output stream to save the edited document.

Return Value

Type: Boolean
True if any text has been removed, false otherwise.
See Also

Reference