Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / ViewState Class / IsLayerActive Method / IsLayerActive(Object) Method
The layer to check.

In This Topic
    IsLayerActive(Object) Method
    In This Topic
    Checks whether a layer is active in the view mode specified by the Mode property. The target layer can be specified as an OptionalContentGroup, an OptionalContentMembership or a string representing the name of the layer.
    Syntax
    'Declaration
     
    Public Overloads Function IsLayerActive( _
       ByVal layer As System.Object _
    ) As System.Boolean
    public System.bool IsLayerActive( 
       System.object layer
    )

    Parameters

    layer
    The layer to check.

    Return Value

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