Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / SetLayerExportState Method / SetLayerExportState(String,LayerExportState) Method
The name of the layer.
The export state.

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

    Parameters

    name
    The name of the layer.
    value
    The export state.
    See Also