FindElement(PdfPage, Int32) Method

Definition

Assembly Broadside.dll

Finds the structure element that owns the marked-content sequence mcid in the content of page.

public PdfStructureElement? FindElement(PdfPage page, int mcid)

Parameters

page
PdfPage

The page whose content stream holds the sequence.

mcid
Int32

The sequence's MCID.

Returns

PdfStructureElement
The element, or null when the sequence is not a content item.

Remarks

ISO 32000-2 §14.7.5.4: through the page's StructParents entry and the parent tree.