[]
Initializes a new instance of the ViewState class.
public ViewState(GcPdfDocument doc, bool ignoreLayersState = false)
| 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. |