[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.GetLayerLocked

GetLayerLocked Method

GetLayerLocked(OptionalContentGroup)

Returns a value indicating whether a layer is locked.

Declaration
public bool GetLayerLocked(OptionalContentGroup layer)
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup object defining the layer.

Returns
Type Description
bool

true if layer is locked, false otherwise.

GetLayerLocked(string)

Returns a value indicating whether a layer is locked. Throws an exception if the layer with the specified name does not exist.

Declaration
public bool GetLayerLocked(string name)
Parameters
Type Name Description
string name

The name of the layer.

Returns
Type Description
bool

true if layer is locked, false otherwise.