[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.GetLayerPrintState

GetLayerPrintState Method

GetLayerPrintState(OptionalContentGroup)

Returns the print state of a layer.

Declaration
public LayerPrintState GetLayerPrintState(OptionalContentGroup layer)
Public Function GetLayerPrintState(layer As OptionalContentGroup) As LayerPrintState
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup object that specifies the layer.

Returns
Type Description
LayerPrintState

The print state of the layer.

GetLayerPrintState(string)

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

Declaration
public LayerPrintState GetLayerPrintState(string name)
Public Function GetLayerPrintState(name As String) As LayerPrintState
Parameters
Type Name Description
string name

The name of the layer.

Returns
Type Description
LayerPrintState

The print state of the layer.