[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.ViewState.IsLayerVisible

IsLayerVisible Method

IsLayerVisible(object)

Checks whether a layer is visible when the document is viewed. The target layer can be specified as an OptionalContentGroup, an OptionalContentMembership or a string representing the name of the layer.

Declaration
public bool IsLayerVisible(object layer)
Public Function IsLayerVisible(layer As Object) As Boolean
Parameters
Type Name Description
object layer

The layer to check.

Returns
Type Description
bool

true if the layer is visible, false otherwise.