Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / ViewState Class / IsLayerVisible Method
The layer to check.

In This Topic
    IsLayerVisible Method
    In This Topic
    Checks whether a layer is visible when the document is viewed. The target layer can be specified as an OptionalContentGroup, an OptionalContentMembership or a string representing the name of the layer.
    Syntax
    'Declaration
     
    Public Function IsLayerVisible( _
       ByVal layer As System.Object _
    ) As System.Boolean
    public System.bool IsLayerVisible( 
       System.object layer
    )

    Parameters

    layer
    The layer to check.

    Return Value

    true if the layer is visible, false otherwise.
    See Also