Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / GetText Method / GetText(ViewState,Boolean) Method
The GrapeCity.Documents.Pdf.Layers.ViewState object.
Indicates whether to ignore errors in PDF content stream during processing.

In This Topic
    GetText(ViewState,Boolean) Method
    In This Topic
    Retrieves all text on the current page.
    Syntax
    'Declaration
     
    Public Overloads Function GetText( _
       ByVal viewState As ViewState, _
       Optional ByVal ignoreErrors As System.Boolean _
    ) As System.String
    public System.string GetText( 
       ViewState viewState,
       System.bool ignoreErrors
    )

    Parameters

    viewState
    The GrapeCity.Documents.Pdf.Layers.ViewState object.
    ignoreErrors
    Indicates whether to ignore errors in PDF content stream during processing.

    Return Value

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