Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / ViewState Class / IsLayerPrintable Method
The layer to check.

In This Topic
    IsLayerPrintable Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Function IsLayerPrintable( _
       ByVal layer As System.Object _
    ) As System.Boolean
    public System.bool IsLayerPrintable( 
       System.object layer
    )

    Parameters

    layer
    The layer to check.

    Return Value

    true if the layer is printable, false otherwise.
    See Also