Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / SetLayerLocked Method / SetLayerLocked(String,Boolean) Method
The name of the layer.
Indicates whether the layer is locked.

In This Topic
    SetLayerLocked(String,Boolean) Method
    In This Topic
    Sets the locked state of a layer. Throws an exception if the layer with the specified name does not exist.
    Syntax
    'Declaration
     
    Public Overloads Sub SetLayerLocked( _
       ByVal name As System.String, _
       ByVal value As System.Boolean _
    ) 
    public void SetLayerLocked( 
       System.string name,
       System.bool value
    )

    Parameters

    name
    The name of the layer.
    value
    Indicates whether the layer is locked.
    See Also