Extracts text in the range of rectangle from the given PDF page by SimpleTextExtractionStrategy. the coordinate origin is top left corner of the page.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public string ExtractText(
	RectangleF rectangleF,
	SimpleTextExtractionStrategy sim
)
Public Function ExtractText ( 
	rectangleF As RectangleF,
	sim As SimpleTextExtractionStrategy
) As String
public:
String^ ExtractText(
	RectangleF rectangleF, 
	SimpleTextExtractionStrategy^ sim
)
member ExtractText : 
        rectangleF : RectangleF * 
        sim : SimpleTextExtractionStrategy -> string 

Parameters

rectangleF
RectangleF
sim
SimpleTextExtractionStrategy
Provide simple text extraction policy

Return Value

String
The Extracted Text.

See Also