GetElements(PdfPage, Int32, ICollection) Method

Definition

Lists a page's links, form fields and markup annotations (comments) as accessible elements in keyboard focus order (GetFocusOrder(Int32, Span<AnnotationTarget>)), each named by GetAccessibleName(AnnotationTarget), with a field's value and its checked, read-only and required states; the source is the annotation's dictionary (stable across edits). Links with a structure parent are left out: a tagged page's content already has them as Link nodes.

public void GetElements(PdfPage page, int pageIndex, ICollection<AccessibleElement> destination)

Parameters

page
PdfPage

The page.

pageIndex
Int32

The zero-based page; loaded into the layer when it is not yet.

destination
ICollection<AccessibleElement>

Receives the elements.

Remarks

ISO 32000-2 §12.5.1 (Tabs), §12.7.4 (field values and flags), §14.9.3 (alternate descriptions); spec #33 viewer capability 7.