Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
FieldHandle Class Reference

Base class for all fields. More...

Inheritance diagram for FieldHandle:
IUnknownHandle ButtonFieldHandle ChoiceFieldHandle NonTerminalFieldHandle SignatureFieldHandle TextFieldHandle
error_type CALLING_CONVENTION Field_GetType (FieldHandle *handle, FieldType *result)
 Return type of field. Result can be used to convert to derived type.
 
error_type CALLING_CONVENTION Field_ToButton (FieldHandle *handle, ButtonFieldHandle **result)
 Reinterpret current object as ButtonFieldHandle.
 
error_type CALLING_CONVENTION Field_ToText (FieldHandle *handle, TextFieldHandle **result)
 Reinterpret current object as TextFieldHandle.
 
error_type CALLING_CONVENTION Field_ToChoice (FieldHandle *handle, ChoiceFieldHandle **result)
 Reinterpret current object as ChoiceFieldHandle.
 
error_type CALLING_CONVENTION Field_ToSignature (FieldHandle *handle, SignatureFieldHandle **result)
 Reinterpret current object as SignatureFieldHandle.
 
error_type CALLING_CONVENTION Field_Release (FieldHandle *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.
 

Detailed Description

Base class for all fields.

Friends And Related Symbol Documentation

◆ Field_Release()

error_type CALLING_CONVENTION Field_Release ( FieldHandle * 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: