THPDFPage.LastAnnotation

THPDFPage

 

Properties  AddPopupAnnotationFor  SetAnnotationBorderStyle

Returns the most recently created annotation dictionary on the page.

 

Delphi syntax:

property LastAnnotation: THPDFDictionaryObject;

 

C++ syntax:

__property THPDFDictionaryObject* LastAnnotation;

 

Description

LastAnnotation is nil until the page creates an annotation. It is updated by markup annotation helpers and by form-field helpers that create widget annotations.

 

Use this property to apply SetAnnotationBorderStyle or AddPopupAnnotationFor to the annotation created by the previous call.

 

See also: AddPopupAnnotationFor, SetAnnotationBorderStyle, PDF Filter Support