Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / GetText Method / GetText(ViewState,Boolean) Method
The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
Indicates whether to ignore errors in PDF during processing.

In This Topic
    GetText(ViewState,Boolean) Method
    In This Topic
    Extracts and returns all text from the current document.
    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 used to determine what document content would be considered.
    ignoreErrors
    Indicates whether to ignore errors in PDF during processing.

    Return Value

    All text in the current document.
    See Also