Skip to main content

PdfDocumentProcessor.GetText(PdfTextExtractionOptions) Method

Retrieves document content with specified extraction options.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public string GetText(
    PdfTextExtractionOptions options
)

Parameters

Name Type Description
options PdfTextExtractionOptions

A PdfTextExtractionOptions object that contains extraction options.

Returns

Type Description
String

The content obtained from the document.

Remarks

Set the PdfTextExtractionOptions.ClipToCropBox property to false to retrieve document content without clipping to the crop box.

The GetText method uses the page coordinate system. Refer to the following help topic for more details: Coordinate Systems.

See Also