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

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

    Parameters

    name
    The name of the layer.

    Return Value

    true if layer is locked, false otherwise.
    See Also