This documentation is deprecated and will no longer be updated. Please use the official documentation at vanillapdf.readthedocs.io.
Vanilla.PDF  2.3.0
Cross-platform toolkit for creating and modifying PDF documents
List of all members
FreeTextAnnotationHandle Class Reference

A free text annotation (PDF 1.3) displays text directly on the page. Unlike an ordinary text annotation, a free text annotation has no open or closed state; instead, the text shall always be visible. More...

Inheritance diagram for FreeTextAnnotationHandle:
AnnotationHandle IUnknownHandle
error_type CALLING_CONVENTION FreeTextAnnotation_Create (RectangleHandle *rect, LiteralStringObjectHandle *contents, LiteralStringObjectHandle *defaultAppearance, FreeTextAnnotationHandle **result)
 Create a new free text annotation.
 
error_type CALLING_CONVENTION FreeTextAnnotation_GetDefaultAppearance (FreeTextAnnotationHandle *handle, LiteralStringObjectHandle **result)
 Get the default appearance string.
 
error_type CALLING_CONVENTION FreeTextAnnotation_SetDefaultAppearance (FreeTextAnnotationHandle *handle, LiteralStringObjectHandle *value)
 Set the default appearance string.
 
error_type CALLING_CONVENTION FreeTextAnnotation_GetAuthor (FreeTextAnnotationHandle *handle, StringObjectHandle **result)
 Get the annotation author (T entry, markup annotations)
 
error_type CALLING_CONVENTION FreeTextAnnotation_SetAuthor (FreeTextAnnotationHandle *handle, StringObjectHandle *value)
 Set the annotation author (T entry, markup annotations)
 
error_type CALLING_CONVENTION FreeTextAnnotation_GetModificationDate (FreeTextAnnotationHandle *handle, DateHandle **result)
 Get the annotation modification date (M entry, markup annotations)
 
error_type CALLING_CONVENTION FreeTextAnnotation_SetModificationDate (FreeTextAnnotationHandle *handle, DateHandle *value)
 Set the annotation modification date (M entry, markup annotations)
 
error_type CALLING_CONVENTION FreeTextAnnotation_GetCreationDate (FreeTextAnnotationHandle *handle, DateHandle **result)
 Get the annotation creation date (CreationDate entry, markup annotations)
 
error_type CALLING_CONVENTION FreeTextAnnotation_SetCreationDate (FreeTextAnnotationHandle *handle, DateHandle *value)
 Set the annotation creation date (CreationDate entry, markup annotations)
 
error_type CALLING_CONVENTION FreeTextAnnotation_ToBaseAnnotation (FreeTextAnnotationHandle *handle, AnnotationHandle **result)
 Reinterpret current object as AnnotationHandle.
 
error_type CALLING_CONVENTION FreeTextAnnotation_FromBaseAnnotation (AnnotationHandle *handle, FreeTextAnnotationHandle **result)
 Convert AnnotationHandle to FreeTextAnnotationHandle.
 
error_type CALLING_CONVENTION FreeTextAnnotation_Release (FreeTextAnnotationHandle *handle)
 Decrement the internal reference counter.
 

Additional Inherited Members

- Public Member Functions inherited from AnnotationHandle
error_type CALLING_CONVENTION Annotation_GetAnnotationType (AnnotationHandle *handle, AnnotationType *result)
 Get annotation type of object handle.
 
- Public Member Functions inherited from IUnknownHandle
error_type CALLING_CONVENTION IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

A free text annotation (PDF 1.3) displays text directly on the page. Unlike an ordinary text annotation, a free text annotation has no open or closed state; instead, the text shall always be visible.

Member Function Documentation

◆ FreeTextAnnotation_Create()

error_type CALLING_CONVENTION FreeTextAnnotation_Create ( RectangleHandle rect,
LiteralStringObjectHandle contents,
LiteralStringObjectHandle defaultAppearance,
FreeTextAnnotationHandle **  result 
)

Create a new free text annotation.

Parameters
rectthe bounding rectangle for the annotation
contentsthe text contents of the annotation
defaultAppearancethe default appearance string (font and size)
resulta pointer to variable that will contain the new annotation upon success

Friends And Related Symbol Documentation

◆ FreeTextAnnotation_GetDefaultAppearance()

error_type CALLING_CONVENTION FreeTextAnnotation_GetDefaultAppearance ( FreeTextAnnotationHandle handle,
LiteralStringObjectHandle **  result 
)
related

Get the default appearance string.

Parameters
handlea handle to the free text annotation
resulta pointer to variable that will contain the default appearance string upon success

◆ FreeTextAnnotation_SetDefaultAppearance()

error_type CALLING_CONVENTION FreeTextAnnotation_SetDefaultAppearance ( FreeTextAnnotationHandle handle,
LiteralStringObjectHandle value 
)
related

Set the default appearance string.

Parameters
handlea handle to the free text annotation
valuethe default appearance string to set

◆ FreeTextAnnotation_Release()

error_type CALLING_CONVENTION FreeTextAnnotation_Release ( FreeTextAnnotationHandle handle)
related

Decrement the internal reference counter.

When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.

See also
IUnknown_Release

The documentation for this class was generated from the following file: