[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfGraphics.BeginLayer

BeginLayer Method

BeginLayer(string)

Begins rendering to a layer specified by layerName. That name should match the Name of an existing OptionalContentGroup in the Groups collection of the current document's OptionalContent.

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

Declaration
public void BeginLayer(string layerName)
Parameters
Type Name Description
string layerName

The name of the target layer.

BeginLayer(OptionalContentGroup)

Begins rendering to the specified layer. That layer should already exist in the Groups collection of the current document's OptionalContent.

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

Declaration
public void BeginLayer(OptionalContentGroup layer)
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup that defines the target layer.

BeginLayer(OptionalContentMembership)

Begins rendering to the specified layer.

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

Declaration
public void BeginLayer(OptionalContentMembership layer)
Parameters
Type Name Description
OptionalContentMembership layer

The OptionalContentMembership that defines the target layer.