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
TextFieldHandle Class Reference

A text field is a box or space for text fill-in data typically entered from a keyboard. More...

Inheritance diagram for TextFieldHandle:
FieldHandle IUnknownHandle
error_type CALLING_CONVENTION TextField_GetValue (TextFieldHandle *handle, StringObjectHandle **result)
 Get the text field value (/V entry).
 
error_type CALLING_CONVENTION TextField_SetValue (TextFieldHandle *handle, StringObjectHandle *value)
 Set the text field value (/V entry).
 
error_type CALLING_CONVENTION TextField_GetDefaultValue (TextFieldHandle *handle, StringObjectHandle **result)
 Get the default value (/DV entry).
 
error_type CALLING_CONVENTION TextField_GetMaxLength (TextFieldHandle *handle, IntegerObjectHandle **result)
 Get the maximum length of the text field (/MaxLen entry).
 
error_type CALLING_CONVENTION TextField_ToField (TextFieldHandle *handle, FieldHandle **result)
 Reinterpret current object as FieldHandle.
 
error_type CALLING_CONVENTION TextField_FromField (FieldHandle *handle, TextFieldHandle **result)
 Convert FieldHandle to TextFieldHandle.
 
error_type CALLING_CONVENTION TextField_Release (TextFieldHandle *handle)
 Decrement the internal reference counter.
 

Additional Inherited Members

- Public Member Functions inherited from FieldHandle
error_type CALLING_CONVENTION Field_CreateFromDictionary (DictionaryObjectHandle *dictionary, FieldHandle **result)
 Create a field from a dictionary object. The field type is determined by the /FT entry in the dictionary.
 
- Public Member Functions inherited from IUnknownHandle
error_type CALLING_CONVENTION IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

A text field is a box or space for text fill-in data typically entered from a keyboard.

Friends And Related Symbol Documentation

◆ TextField_GetMaxLength()

error_type CALLING_CONVENTION TextField_GetMaxLength ( TextFieldHandle handle,
IntegerObjectHandle **  result 
)
related

Get the maximum length of the text field (/MaxLen entry).

Returns
VANILLAPDF_ERROR_OBJECT_MISSING if the entry is not present.

◆ TextField_Release()

error_type CALLING_CONVENTION TextField_Release ( TextFieldHandle 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: