Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfGraphics Class / BeginLayer Method / BeginLayer(String) Method
The name of the target layer.

In This Topic
    BeginLayer(String) Method
    In This Topic
    Begins rendering to a layer specified by layerName. That name should match the GrapeCity.Documents.Pdf.Layers.OptionalContentGroup.Name of an existing GrapeCity.Documents.Pdf.Layers.OptionalContentGroup in the GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.Groups collection of the current document's GcPdfDocument.OptionalContent.

    The EndLayer method must be called to end rendering to the specified layer.

    Syntax
    'Declaration
     
    Public Overloads Sub BeginLayer( _
       ByVal layerName As System.String _
    ) 
    public void BeginLayer( 
       System.string layerName
    )

    Parameters

    layerName
    The name of the target layer.
    See Also