com.spire.pdf.texts
Class PdfTextExtractOptions

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

public class PdfTextExtractOptions
extends java.lang.Object

Represents text extraction options.


Constructor Summary
PdfTextExtractOptions()
          Initialize a new instance.
 
Method Summary
 void setExtractArea(java.awt.geom.Rectangle2D rect)
          Specified the text extract area.
 void setExtractHiddenText(boolean value)
          Whether is extract hidden texts.
 void setSimpleExtraction(boolean value)
          Whether is use simple extraction.
 void setStrategy(PdfTextStrategy strategy)
          Sets the text processing strategy.
 

Constructor Detail

PdfTextExtractOptions

public PdfTextExtractOptions()
Initialize a new instance.

Method Detail

setSimpleExtraction

public void setSimpleExtraction(boolean value)
Whether is use simple extraction. Default vale: false.

Parameters:
value - The value.

setStrategy

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

Parameters:
strategy - The strategy.

setExtractHiddenText

public void setExtractHiddenText(boolean value)
Whether is extract hidden texts. Default vale: true.

Parameters:
value - The value.

setExtractArea

public void setExtractArea(java.awt.geom.Rectangle2D rect)
Specified the text extract area.

Parameters:
rect - The text extract area.