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

PdfViewerControl.GetText(PdfDocumentPosition, PdfDocumentPosition) Method

Gets the text contained in the specified document area.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v18.2.dll

Declaration

public string GetText(
    PdfDocumentPosition start,
    PdfDocumentPosition end
)

Parameters

Name Type Description
start PdfDocumentPosition

A PdfDocumentPosition object that is the top left point of a document area.

end PdfDocumentPosition

A PdfDocumentPosition object that is the bottom right point of a document area.

Returns

Type Description
String

The text contained in the specified document area.

Remarks

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

See Also