THotPDF.GetLoadedAnnotationAppearanceStream Method
Resolves one loaded annotation appearance through direct streams and appearance-state dictionaries
Declaration
function GetLoadedAnnotationAppearanceStream(PageIndex,
AnnotationIndex: Integer; Kind: THPDFAnnotationAppearanceKind =
aakNormal): THPDFStreamObject;
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based loaded page index |
AnnotationIndex | Zero-based annotation index on the page |
Kind | aakNormal, aakRollover or aakDown |
Return value
Returns the resolved loaded stream without transferring ownership, or nil when no usable appearance exists
Usage notes
- Rollover and down requests fall back to the normal appearance
- State selection checks
/AS, inherited field values, parent state,/Offand a sole stream entry - The returned object remains owned by the loaded document