[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Page.GetText

GetText Method

GetText(ViewState, bool)

Retrieves all text on the current page.

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 object.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream during processing.

Returns
Type Description
string

The page text, or null if the page does not contain any text.

GetText(bool)

Retrieves all text on the current page.

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 content stream during processing.

Returns
Type Description
string

The page text, or null if the page does not contain any text.