Link Search Menu Expand Document

IBaseTextExtractorAddFilter Method (String, Int32, Color, Boolean)

Adds filter to exclude text objects with specified attributes.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
void AddFilter(
	string fontName,
	int fontSize,
	Color fontColor,
	bool exclude
)

Parameters

fontName
Type: SystemString
Font name. Use empty string or null to skip the filtering by the font name.
fontSize
Type: SystemInt32
Font size. Use -1 to skip the filtering by the font size.
fontColor
Type: System.DrawingColor
Font color.
exclude
Type: SystemBoolean
True if should exclude matching content, False if include the matching content.
See Also

Reference