Skip to content

PdfContentStreamContainer.MapMarkedContentIdentifierToStructureElement Method

MapMarkedContentIdentifierToStructureElement(Int32,PdfStructureElement)

Maps a marked content sequence identifier to a structure element.

C#
public void MapMarkedContentIdentifierToStructureElement(int markedContentIdentifier, PdfStructureElement structureElement)

Parameters

markedContentIdentifier Int32

The identifier of the marked content sequence.

structureElement PdfStructureElement

The structure element.

Remarks

This method needs to be called when a marked content sequence is created using Xfinium.Pdf.Graphics.PdfGraphics.BeginStructureElement method. The marked content identifier returned by this method needs to be mapped to the PdfStructureElement that includes it.