[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.GetLayerExportState

GetLayerExportState Method

GetLayerExportState(OptionalContentGroup)

Returns the export state of a layer.

Declaration
public LayerExportState GetLayerExportState(OptionalContentGroup layer)
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup object that specifies the layer.

Returns
Type Description
LayerExportState

The export state of the layer.

GetLayerExportState(string)

Returns the export state of a layer. Throws an exception if the layer with the specified name does not exist.

Declaration
public LayerExportState GetLayerExportState(string name)
Parameters
Type Name Description
string name

The name of the layer.

Returns
Type Description
LayerExportState

The export state of the layer.