Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / ViewState Class / GetLayerUIState Method / GetLayerUIState(String) Method
The name of the target layer.

In This Topic
    GetLayerUIState(String) Method
    In This Topic
    Gets the visibility state of an optional content group (layer) in the context of an end-user UI The return value is interpreted as follows:
    • true: the user explicitly made the layer visible.
    • false: the user explicitly made the layer hidden.
    • a null reference (Nothing in Visual Basic): the user did not change the visibility of the layer.
    Syntax
    'Declaration
     
    Public Overloads Function GetLayerUIState( _
       ByVal layerName As System.String _
    ) As System.Nullable(Of Boolean)
    public System.Nullable<bool> GetLayerUIState( 
       System.string layerName
    )

    Parameters

    layerName
    The name of the target layer.

    Return Value

    The state of the layer.
    See Also