Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / SetLayerLocked Method / SetLayerLocked(OptionalContentGroup,Boolean) Method
The OptionalContentGroup object that specifies the layer.
Indicates whether the layer is locked.

In This Topic
    SetLayerLocked(OptionalContentGroup,Boolean) Method
    In This Topic
    Sets the locked state of a layer.
    Syntax
    'Declaration
     
    Public Overloads Sub SetLayerLocked( _
       ByVal layer As OptionalContentGroup, _
       ByVal locked As System.Boolean _
    ) 
    public void SetLayerLocked( 
       OptionalContentGroup layer,
       System.bool locked
    )

    Parameters

    layer
    The OptionalContentGroup object that specifies the layer.
    locked
    Indicates whether the layer is locked.
    See Also