Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / GetLayerDefaultState Method / GetLayerDefaultState(String) Method
The name of the layer.

In This Topic
    GetLayerDefaultState(String) Method
    In This Topic
    Returns a value indicating whether a layer is ON by default. Throws an exception if the layer with the specified name does not exist.
    Syntax
    'Declaration
     
    Public Overloads Function GetLayerDefaultState( _
       ByVal name As System.String _
    ) As System.Boolean
    public System.bool GetLayerDefaultState( 
       System.string name
    )

    Parameters

    name
    The name of the layer.

    Return Value

    A value indicating whether the layer is ON by default.
    See Also