[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.ViewState.IsLayerPrintable

IsLayerPrintable Method

IsLayerPrintable(object)

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

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

The layer to check.

Returns
Type Description
bool

true if the layer is printable, false otherwise.