API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdTextField Class
OdTextField Class
OdPdfPublish__OdTextFieldOdPdfPublish__OdTextFieldOdPdfPublish__OdTextField
Syntax
C++
class OdTextField : public OdObject;

PdfPublishTextField.h

This class implements a text field control contained in a .pdf document created with Publish SDK. A text field allows entry of text information with specified format options.

 
Name 
Description 
 
Destroys the text field. 
 
Name 
Description 
 
Returns the current value of the flag that determines whether the text field has a border. If the flag value is equal to true, the text field has a border, otherwise it does not. The method fills a passed boolean value with the text field border flag value and returns it to a calling subroutine.
 
 
Returns the current text field border color. The method fills a passed ODCOLORREF value with the text field border color value and returns it to a calling subroutine.
 
 
Returns the current text field border style.
 
 
Returns the current thickness value of the text field border. This method fills a passed value with the current thickness value and returns it to a calling subroutine.
 
 
Returns the current text field default value. The method fills a passed string object with the current text field default value and returns it to a calling subroutine.
 
 
Returns the text field fill color. The method fills a passed ODCOLORREF value and returns it to a calling subroutine.
 
 
Returns the current font type name used for displaying the text field caption. The method fills a passed string object with the text field font name and returns it to a calling subroutine.
 
 
Returns the current font size used for displaying the text field caption. The method fills a passed integer value with the text field font size and returns it to a calling subroutine.
 
 
Returns the current value of the flag that determines whether the text field is locked. If the flag value is equal to true, the text field is locked and becomes disabled, otherwise it is enabled and unlocked. The method fills a passed boolean value with the text field lock flag value and returns it to a calling subroutine.
 
 
Returns the current multiline flag value of the text. This flag determines whether the text field content can be divided into several lines. If the flag is equal to true, the text field can contain several lines, otherwise text field content is in a single line. The method fills a passed boolean value with the current flag value and returns it to a calling subroutine.
 
 
Returns the current name of the text field. The method fills a passed string object with the text field name and returns it to a calling subroutine.
 
 
Returns the current value of the flag that determines whether the text field should be printed. If the text field should be printed, the flag value is equal to true, otherwise it is equal to false. The method fills a passed boolean value with the text field printability flag value and returns it to a calling subroutine.
 
 
Returns the current read-only flag value of the text field. The read-only flag determines whether text field content can be edited (if its value is true) or not (if its value is false). The method fills a passed boolean value with the current flag value and returns it to a calling subroutine.
 
 
Returns the current text field scrolling flag value. If the flag is equal to true, the text field has a scroll control that can be used to scroll multiline text. Otherwise the text field does not contain a scroll control. The method fills a passed boolean value with the current flag value and returns it to a calling subroutine.
 
 
Returns the current text color used for displaying the text field caption. The method fills a passed ODCOLORREF value with the text field caption color and returns it to a calling subroutine.
 
 
Returns the current text field justification. The method fills a passed justification value and returns it to a calling subroutine.
 
 
Returns the current text field rotation value. The method fills a passed value with the current rotation value and returns it to a calling subroutine.
 
 
Returns the current tooltip text for the text field. Tooltip text is the text that appears when a user hovers the mouse pointer over the text field.
The method fills a passed string object with the text field tooltip text and returns it to a calling subroutine.
 
 
Returns the current value of the visibility flag for the text field. The visibility flag determines whether the text field is visible in the document (if true) or is hidden (if false). The method fills a passed boolean value with the text field visibility flag value and returns it to a calling subroutine.
 
 
Sets a new value of the flag that determines whether the text field has a border. If the flag value is equal to true, the text field has a border, otherwise it does not.
 
 
Sets a text field border color.
 
 
Sets a text field border style.
 
 
Sets a text field border thickness.
 
 
Sets a text field default value.
 
 
Sets a text field fill color.
 
 
This is the overview for the setFont method overload. 
 
Sets a font size for the text field.
 
 
Sets a new value of the flag that determines whether the text field is locked. If the flag value is equal to true, the text field is locked and becomes disabled, otherwise it is enabled and unlocked.
 
 
Sets a text field multiline flag value. This flag determines whether the text field content can be divided into several lines. If the flag is equal to true, the text field can contain several lines, otherwise text field content is in a single line.
 
 
Sets the text field name.
 
 
Sets a new value of the flag that determines whether the text field should be printed. If the text field should be printed, the flag value is equal to true, otherwise it is equal to false.
 
 
Sets a text field read-only flag value. The read-only flag determines whether text field content can be edited (if its value is true) or not (if its value is false).
 
 
Sets a text field scrolling flag value. If the flag is equal to true, the text field has a scroll control that can be used to scroll multiline text. Otherwise the text field does not contain a scroll control.
 
 
Sets a foreground color for the text field.
 
 
Sets a text field justification value.
 
 
Sets a text field rotation value.
 
 
Sets tooltip text for the text field. Tooltip text is the text that appears when a user hovers the mouse pointer over the text field.
 
 
Sets a new value of the visibility flag for the text field. The visibility flag determines whether the text field is visible in the document (if true) or is hidden (if false).
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.