Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / ViewState Class
Members

In This Topic
    ViewState Class
    In This Topic
    Represents the view state of a PDF document.

    The presentation of a PDF document may depend on the context that is determined by the current environment and is not persisted in the PDF itself. This includes:

    • The transient state of optional content (e.g. the user may have turned a layer's visibility on or off).
    • The current operation (e.g. view or print).
    This class is used to specify the target context for operations that work with document content, so that only the relevant content is processed.

    Note that an instance of this class is not automatically updated if the document content (e.g. layers) changes. Use the Reset method to reset the view state to its initial state.
    Object Model
    ViewState Class
    Syntax
    'Declaration
     
    Public Class ViewState 
    public class ViewState 
    Inheritance Hierarchy

    System.Object
       GrapeCity.Documents.Pdf.Layers.ViewState

    See Also