Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfGraphics Class / BeginLayer Method / BeginLayer(OptionalContentGroup) Method
The GrapeCity.Documents.Pdf.Layers.OptionalContentGroup that defines the target layer.

In This Topic
    BeginLayer(OptionalContentGroup) Method
    In This Topic
    Begins rendering to the specified layer. That layer should already exist 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 layer As OptionalContentGroup _
    ) 
    public void BeginLayer( 
       OptionalContentGroup layer
    )

    Parameters

    layer
    The GrapeCity.Documents.Pdf.Layers.OptionalContentGroup that defines the target layer.
    See Also