Back to Devexpress

PdfDocumentProcessor.GetText(PdfTextExtractionOptions) Method

officefileapi-devexpress-dot-pdf-dot-pdfdocumentprocessor-dot-gettext-x28-devexpress-dot-pdf-dot-pdftextextractionoptions-x29.md

latest1.8 KB
Original Source

PdfDocumentProcessor.GetText(PdfTextExtractionOptions) Method

Retrieves document content with specified extraction options.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public string GetText(
    PdfTextExtractionOptions options
)
vb
Public Function GetText(
    options As PdfTextExtractionOptions
) As String

Parameters

NameTypeDescription
optionsPdfTextExtractionOptions

A PdfTextExtractionOptions object that contains extraction options.

|

Returns

TypeDescription
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

PdfDocumentProcessor Class

PdfDocumentProcessor Members

DevExpress.Pdf Namespace