Click or drag to resize

PdfViewViewState Property

Gets or sets a flag indicating that the group should be set to the On or Off state when the document is opened in a viewer application.

Namespace: Patagames.Pdf.Net.Wrappers.OptionalContent
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public OCGState ViewState { get; set; }

Property Value

OCGState
Required. Value may be On or Off. Unspecified means that there is no such entry in the underlying dictionary.
Exceptions
ExceptionCondition
ArgumentExceptionThe property is set and value is unsupported. Only On and Off are allowed.
See Also