[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.SetLayerExportState

SetLayerExportState Method

SetLayerExportState(OptionalContentGroup, LayerExportState)

Sets the export state of a layer.

Declaration
public void SetLayerExportState(OptionalContentGroup layer, LayerExportState value)
Public Sub SetLayerExportState(layer As OptionalContentGroup, value As LayerExportState)
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup object that specifies the layer.

LayerExportState value

The export state.

SetLayerExportState(string, LayerExportState)

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

Declaration
public void SetLayerExportState(string name, LayerExportState value)
Public Sub SetLayerExportState(name As String, value As LayerExportState)
Parameters
Type Name Description
string name

The name of the layer.

LayerExportState value

The export state.