Reads an action dictionary through the typed view of its type.
public PdfAction? GetAction(CosObject? value, CosReference? ownerReference = null)
The action dictionary, or a reference to it, from this document: an A entry, an element of Next, a value of an additional-actions dictionary.
The indirect object holding value, for diagnostics when the action is direct.
null when value is absent or resolves to null, or, with an ActionInvalid
diagnostic, when it is not a dictionary with an S name.
ISO 32000-2 §12.6.2 and §12.6.4. The entry point for actions held by objects the document model does not type yet (link, screen and widget annotations, form fields). The action's own deviations are reported now, so strict mode throws here.