Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / SetLayerPrintState Method / SetLayerPrintState(String,LayerPrintState) Method
The name of the layer.
The print state of the layer.

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

    Parameters

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