Skip to content

# PDFContentStreamContainer

Namespace: O2S.Components.PDF4NET

Defines a PDF object that can include a content stream, such as a page or a form XObject.

    public class PDFContentStreamContainer

Inheritance Object → PDFContentStreamContainer

Remarks

This class is for internal library use only.

## Constructors

## Properties

## Methods

### MapMarkedContentIdentifierToStructureElement(Int32, PDFStructureElement)

Maps a marked content sequence identifier to a structure element.

    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 PDFCanvas.BeginStructureElement(String, PDFCosDictionary) method. The marked content identifier returned by this method needs to be mapped to the PDFStructureElement that includes it.