[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.GetText

GetText Method

GetText(ViewState, bool)

Extracts and returns all text from the current document.

Declaration
public string GetText(ViewState viewState, bool ignoreErrors = true)
Public Function GetText(viewState As ViewState, Optional ignoreErrors As Boolean = True) As String
Parameters
Type Name Description
ViewState viewState

The ViewState used to determine what document content would be considered.

bool ignoreErrors

Indicates whether to ignore errors in PDF during processing.

Returns
Type Description
string

All text in the current document.

GetText(bool)

Extracts and returns all text from the current document.

Declaration
public string GetText(bool ignoreErrors = true)
Public Function GetText(Optional ignoreErrors As Boolean = True) As String
Parameters
Type Name Description
bool ignoreErrors

Indicates whether to ignore errors in PDF during processing.

Returns
Type Description
string

All text in the current document.