Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / SetLayerInitialViewState Method / SetLayerInitialViewState(OptionalContentGroup,LayerInitialViewState) Method
The OptionalContentGroup object that specifies the layer.
The initial view state.

In This Topic
    SetLayerInitialViewState(OptionalContentGroup,LayerInitialViewState) Method
    In This Topic
    Sets the initial view state of a layer.
    Syntax
    'Declaration
     
    Public Overloads Sub SetLayerInitialViewState( _
       ByVal layer As OptionalContentGroup, _
       ByVal value As LayerInitialViewState _
    ) 
    public void SetLayerInitialViewState( 
       OptionalContentGroup layer,
       LayerInitialViewState value
    )

    Parameters

    layer
    The OptionalContentGroup object that specifies the layer.
    value
    The initial view state.
    See Also