TextSearchOptions Class
Represents text search options
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.TextTextOptions
    Aspose.Pdf.TextTextSearchOptions

Namespace: Aspose.Pdf.Text
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public sealed class TextSearchOptions : TextOptions

The TextSearchOptions type exposes the following members.

Constructors
  NameDescription
Public methodTextSearchOptions(Boolean)
Initializes new instance of the TextSearchOptions object. Specifies regular expression usage mode.
Public methodTextSearchOptions(Rectangle)
Initializes new instance of the TextSearchOptions object. Specifies rectangle that delimits the searched text.
Public methodTextSearchOptions(Rectangle, Boolean)
Initializes new instance of the TextSearchOptions object. Specifies rectangle that delimits the searched text and regular expression usage mode.
Properties
  NameDescription
Public propertyIgnoreShadowText
Gets or sets indication that text fragments representing shadow of normal text will be ignored during search. true - means that shadow text will not be found (try this if text search returns duplicated fragments on the close positions) false - means that shadow text will be found as well as normal text (default value)
Public propertyIsRegularExpressionUsed
Gets or sets indication that regular expression is used.
Public propertyLimitToPageBounds
Gets or sets indication that text is searched within the page bounds.
Public propertyLogTextExtractionErrors
Gets or sets indication that text extraction (decoding) errors will be logged in the text (fragment) absorber. true - means that text extraction (decoding) errors will be loged. It may decrease performance. false (default) - no error loging.
Public propertyRectangle
Gets or sets rectangle that bounds the searched text.
Public propertySearchForTextRelatedGraphics
Gets or sets value that permits searching for text related graphics (underlining, background etc.) during text search. false - graphic elements that may present in source document will be ignored (default value). true - searching for text related graphics will be performed. It may decrease performance of text search and edit. It also may change graphical elements that look like text related.
Public propertyUseFontEngineEncoding
Gets or sets indication that text will be searched using font engine encoding. true - means that font engine encoding will be used (try this if text search fails because of imperfect encoding in the document) false - means that document font encoding will be used (default value)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also