Skip to content

PdfGraphics.BeginStructureElement Method

Overloads

Name Description
BeginStructureElement(PdfStructureElement) Begins a marked content sequence associated with a PdfStructureElement object.
BeginStructureElement(String,PdfCosDictionary) Begins a marked content sequence associated with the specified type and properties.

BeginStructureElement(PdfStructureElement)

Begins a marked content sequence associated with a PdfStructureElement object.

C#
public void BeginStructureElement(PdfStructureElement structureElement)

Parameters

structureElement PdfStructureElement

The structure element associated with the content enclosed by the marked content sequence.

Remarks

Each BeginStructureElement call must be paired with a EndStructureElement call.

BeginStructureElement(String,PdfCosDictionary)

Begins a marked content sequence associated with the specified type and properties.

C#
public PdfMarkedContentSequenceIdentifier BeginStructureElement(string structureElementType, PdfCosDictionary properties)

Parameters

structureElementType String

The type of the structure element associated with the content enclosed by the marked content sequence.

properties PdfCosDictionary

A property list

Remarks

Each BeginStructureElement call must be paired with a EndStructureElement call. After this method is called, a call to Xfinium.Pdf.PdfContentStreamContainer.MapMarkedContentIdentifierToStructureElement is required in order to map the marked content identifier to the structure element that includes it. The PdfContentStreamContainer is the PdfPage or PdfFormXObject object that includes this PdfGraphics object.