Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / ViewState Class / ViewState Constructor
The document for which this instance is created.
Indicates whether to ignore the persisted state of the layers, assuming that all layers are visible.

In This Topic
    ViewState Constructor
    In This Topic
    Initializes a new instance of the ViewState class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal doc As GcPdfDocument, _
       Optional ByVal ignoreLayersState As System.Boolean _
    )
    public ViewState( 
       GcPdfDocument doc,
       System.bool ignoreLayersState
    )

    Parameters

    doc
    The document for which this instance is created.
    ignoreLayersState
    Indicates whether to ignore the persisted state of the layers, assuming that all layers are visible.
    See Also