Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / GetLogicalStructure Method / GetLogicalStructure(ViewState,Single,Single,Boolean) Method
The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
The horizontal resolution (DPI) to use for positions and sizes of PDF elements.
The vertical resolution (DPI) to use for positions and sizes of PDF elements.
Indicates whether to ignore errors during processing.

In This Topic
    GetLogicalStructure(ViewState,Single,Single,Boolean) Method
    In This Topic
    Parses the PDF's structure tree (as returned by the StructTreeRoot property) and creates a GrapeCity.Documents.Pdf.Recognition.Structure.LogicalStructure object that represents the logical structure of the document.

    Returns null if the current document does not have a structure tree.

    Syntax
    'Declaration
     
    Public Overloads Function GetLogicalStructure( _
       ByVal viewState As ViewState, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single, _
       Optional ByVal ignoreErrors As System.Boolean _
    ) As LogicalStructure
    public LogicalStructure GetLogicalStructure( 
       ViewState viewState,
       System.float dpiX,
       System.float dpiY,
       System.bool ignoreErrors
    )

    Parameters

    viewState
    The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
    dpiX
    The horizontal resolution (DPI) to use for positions and sizes of PDF elements.
    dpiY
    The vertical resolution (DPI) to use for positions and sizes of PDF elements.
    ignoreErrors
    Indicates whether to ignore errors during processing.

    Return Value

    See Also