Link Search Menu Expand Document

IBaseTextExtractorAddFilter Method (String, Int32, Int32, Int32, Int32, 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,
	int fontColorR,
	int fontColorG,
	int fontColorB,
	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.
fontColorR
Type: SystemInt32
Red component of RGB font color.
fontColorG
Type: SystemInt32
Green component of RGB font color.
fontColorB
Type: SystemInt32
Blue component of RGB font color.
exclude
Type: SystemBoolean
True if should exclude matching content, False if include the matching content.
See Also

Reference