AddMarkedContent(PdfPage, PdfFormXObject) Method

Definition

Assembly Broadside.dll

Allocates the next MCID of form's content, drawn on page, and makes that sequence the element's last content item.

public PdfMarkedContentReference AddMarkedContent(PdfPage page, PdfFormXObject form)

Parameters

page
PdfPage

The page the form is drawn on.

form
PdfFormXObject

The form XObject whose content will hold the sequence; it must be an indirect object.

Returns

PdfMarkedContentReference
The content item: an MCR with Stm naming the form.

Remarks

ISO 32000-2 §14.7.5.2 (Table 357, Stm), §14.7.5.4: MCIDs are scoped to their content stream, so the form gets its own StructParents key and parent-tree array.