GetPageElementMarkedContentCount

Content stream editing, Tagged PDF

Description

Returns the number of active marked-content frames captured for an enumerated page element

Syntax

Delphi

Function TPDFlib.GetPageElementMarkedContentCount(ElementID: Integer): Integer;

Parameters

ElementIDOpaque handle returned by EnumPageElements or EnumeratePageElements

Return value

The nesting depth, or zero when the handle is invalid or the element is outside marked content

Remarks

Frames use one-based outer-to-inner order and remain attached to the immutable page-element snapshotMarked-content nesting is independent of

q/Q, is reset at each content-stream boundary and starts independently inside every Form