com.spire.pdf.texts
Class PdfTextFindOptions

java.lang.Object
  extended by com.spire.pdf.texts.PdfTextFindOptions

public class PdfTextFindOptions
extends java.lang.Object

Represents text find options.


Constructor Summary
PdfTextFindOptions()
          Initialize a new instance.
 
Method Summary
 void setFindArea(java.awt.geom.Rectangle2D rect)
          Specified the text find area in the page.
 void setSimpleFind(boolean value)
          Whether is use simple find.
 void setStrategy(PdfTextStrategy strategy)
          Sets the text processing strategy.
 void setTextFindParameter(java.util.EnumSet<TextFindParameter> parameter)
          Specified the text find parameter.
 

Constructor Detail

PdfTextFindOptions

public PdfTextFindOptions()
Initialize a new instance.

Method Detail

setFindArea

public void setFindArea(java.awt.geom.Rectangle2D rect)
Specified the text find area in the page.

Parameters:
rect - The area.

setSimpleFind

public void setSimpleFind(boolean value)
Whether is use simple find. Default vale: false.

Parameters:
value - The value.

setStrategy

public void setStrategy(PdfTextStrategy strategy)
Sets the text processing strategy.

Parameters:
strategy - The strategy.

setTextFindParameter

public void setTextFindParameter(java.util.EnumSet<TextFindParameter> parameter)
Specified the text find parameter. Default value : EnumSet.of(TextFindParameter.None)

Parameters:
parameter - The parameter.