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.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
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
Provide a rangle to extract text.
- sim
- SimpleTextExtractionStrategy
Provide simple text extraction policy
Return Value
StringThe Extracted Text.