[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.GetLayerInitialViewState

GetLayerInitialViewState Method

GetLayerInitialViewState(OptionalContentGroup)

Returns the layer initial view state of a layer.

Declaration
public LayerInitialViewState GetLayerInitialViewState(OptionalContentGroup layer)
Public Function GetLayerInitialViewState(layer As OptionalContentGroup) As LayerInitialViewState
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup object that specifies the layer.

Returns
Type Description
LayerInitialViewState

The initial view state of the layer.

GetLayerInitialViewState(string)

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

Declaration
public LayerInitialViewState GetLayerInitialViewState(string name)
Public Function GetLayerInitialViewState(name As String) As LayerInitialViewState
Parameters
Type Name Description
string name

The name of the layer.

Returns
Type Description
LayerInitialViewState

The initial view state of the layer.