![]() |
Vanilla.PDF
2.3.0
Cross-platform toolkit for creating and modifying PDF documents
|
An annotation associates an object such as a note, sound, or movie with a location on a page of a PDF document, or provides a way to interact with the user by means of the mouse and keyboard. More...
| error_type CALLING_CONVENTION | Annotation_GetAnnotationType (AnnotationHandle *handle, AnnotationType *result) |
Get annotation type of object handle. | |
| error_type CALLING_CONVENTION | Annotation_ToUnknown (AnnotationHandle *handle, IUnknownHandle **result) |
| Reinterpret current object as IUnknownHandle. | |
| error_type CALLING_CONVENTION | Annotation_FromUnknown (IUnknownHandle *handle, AnnotationHandle **result) |
| Convert IUnknownHandle to PageAnnotationsHandle. | |
| error_type CALLING_CONVENTION | Annotation_GetRect (AnnotationHandle *handle, RectangleHandle **result) |
| Get the annotation rectangle. | |
| error_type CALLING_CONVENTION | Annotation_SetRect (AnnotationHandle *handle, RectangleHandle *value) |
| Set the annotation rectangle. | |
| error_type CALLING_CONVENTION | Annotation_GetContents (AnnotationHandle *handle, LiteralStringObjectHandle **result) |
| Get the annotation contents (text) | |
| error_type CALLING_CONVENTION | Annotation_SetContents (AnnotationHandle *handle, LiteralStringObjectHandle *value) |
| Set the annotation contents (text) | |
| error_type CALLING_CONVENTION | Annotation_GetColor (AnnotationHandle *handle, ColorHandle **result) |
| Get the annotation color. | |
| error_type CALLING_CONVENTION | Annotation_SetColor (AnnotationHandle *handle, ColorHandle *value) |
| Set the annotation color. | |
| error_type CALLING_CONVENTION | Annotation_GetFlags (AnnotationHandle *handle, AnnotationFlags *result) |
| Get the annotation flags (F entry) | |
| error_type CALLING_CONVENTION | Annotation_SetFlags (AnnotationHandle *handle, AnnotationFlags value) |
| Set the annotation flags (F entry) | |
| error_type CALLING_CONVENTION | Annotation_Release (AnnotationHandle *handle) |
| Decrement the internal reference counter. | |
Additional Inherited Members | |
Public Member Functions inherited from IUnknownHandle | |
| error_type CALLING_CONVENTION | IUnknown_AddRef (IUnknownHandle *handle) |
| Increment the internal reference counter. | |
Related Symbols inherited from IUnknownHandle | |
| error_type CALLING_CONVENTION | IUnknown_Release (IUnknownHandle *handle) |
| Decrement the internal reference counter. | |
An annotation associates an object such as a note, sound, or movie with a location on a page of a PDF document, or provides a way to interact with the user by means of the mouse and keyboard.
| error_type CALLING_CONVENTION Annotation_GetAnnotationType | ( | AnnotationHandle * | handle, |
| AnnotationType * | result | ||
| ) |
Get annotation type of object handle.
| handle | a handle to the annotation class |
| result | a pointer to variable will be filled with annotation type upon success, unchanged on failure |
|
related |
Get the annotation rectangle.
| handle | a handle to the annotation class |
| result | a pointer to variable that will contain the rectangle upon success |
|
related |
Set the annotation rectangle.
| handle | a handle to the annotation class |
| value | the rectangle to set |
|
related |
Get the annotation contents (text)
| handle | a handle to the annotation class |
| result | a pointer to variable that will contain the contents string upon success |
|
related |
Set the annotation contents (text)
| handle | a handle to the annotation class |
| value | the contents string to set |
|
related |
Get the annotation color.
| handle | a handle to the annotation class |
| result | a pointer to variable that will contain the color upon success |
|
related |
Set the annotation color.
| handle | a handle to the annotation class |
| value | the color to set |
|
related |
Get the annotation flags (F entry)
| handle | a handle to the annotation class |
| result | a pointer to variable that will contain the flags upon success |
|
related |
Set the annotation flags (F entry)
| handle | a handle to the annotation class |
| value | the flags to set (can be combined with bitwise OR) |
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.