[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.ViewState.-ctor

ViewState Constructor

ViewState(GcPdfDocument, bool)

Initializes a new instance of the ViewState class.

Declaration
public ViewState(GcPdfDocument doc, bool ignoreLayersState = false)
Public Sub New(doc As GcPdfDocument, Optional ignoreLayersState As Boolean = False)
Parameters
Type Name Description
GcPdfDocument doc

The document for which this instance is created.

bool ignoreLayersState

Indicates whether to ignore the persisted state of the layers, assuming that all layers are visible.