GetMarkedContentElements(CosStream) Method

Definition

Assembly Broadside.dll

Returns the MCID-to-element map of contentStream.

public IReadOnlyDictionary<int, PdfStructureElement> GetMarkedContentElements(CosStream contentStream)

Parameters

contentStream
CosStream

A form XObject or other content stream with its own StructParents.

Returns

IReadOnlyDictionary<Int32, PdfStructureElement>
The elements owning its marked-content content items, by MCID.

Remarks

ISO 32000-2 §14.7.5.4. Built once per stream on first use, and again after the tree or the parent tree changes.