Skip to main content
A newer version of this page is available. .

PdfDocumentProcessor.GetText(PdfDocumentPosition, PdfDocumentPosition) Method

Retrieves the text found within the specified document positions.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v18.2.dll

Declaration

public string GetText(
    PdfDocumentPosition startPosition,
    PdfDocumentPosition endPosition
)

Parameters

Name Type Description
startPosition PdfDocumentPosition

A PdfDocumentPosition object that is the initial document position starting from which the text is obtained from a document.

endPosition PdfDocumentPosition

A PdfDocumentPosition object that is the final document position starting from which the text is not obtained from a document.

Returns

Type Description
String

A String value, specifying the text.

Remarks

The overloaded GetText method uses the page coordinate system. See the Coordinate Systems topic to learn more.

See Also