PdfDocumentProcessor.GetText(PdfDocumentPosition, PdfDocumentPosition) Method
Retrieves the text located between the specified document positions.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
startPosition | PdfDocumentPosition | A PdfDocumentPosition object that is the initial document position. |
endPosition | PdfDocumentPosition | A PdfDocumentPosition object that is the final document position. |
Returns
Type | Description |
---|---|
String | A String value, that is the target the text. |
Remarks
The overloaded GetText method uses the page coordinate system. See the Coordinate Systems topic to learn more.
string pageText = processor.GetText(startPosition, endPosition);
Console.WriteLine(pageText);
See Also