Structure to define a text field.
Name of the field (it serves as the field identifier, it should be unique in the document).
Displayed text that the hesitant user may find helpful in filling in the form field. Tooltips appear when the pointer hovers briefly over the form field.
Specifies whether the form field can be seen, either on screen or in print.
If locked, prevents any further changes to any form field properties (in Acrobat ‘Properties’ dialog box).
Color which the inside of the field will be filled with (if m_bHasFillColor is true).
- It should be the name of the font as appearing in Acrobat font list, with style separated with a comma. For example, ‘Calibri Bold Italic’ should be specified as “Calibri,BoldItalic”. For rich texts (if m_bAllowRichText is true), it is particularly important to specify the font name as defined in system folder, including spaces. For example, SegoeUI font should really be specifuy for rich texts as ‘Segoe UI’. Also, specific values exist for Adobe default fonts: eTimesRoman is “TiRo” ; eTimesItalic is “TiIt” ; eTimesBold is “TiBo” ; eTimesBoldItalic is “TiBI” ; eHelvetica is “Helv” ; eHelveticaOblique is “HeOb” ; eHelveticaBold is “HeBo” ; eHelveticaBoldOblique is “HeBO” ; eCourier is “Cour” ; eCourierOblique is “CoOb” ; eCourierBold is “CoBo” ; eCourierBoldOblique is “CoBO”.
Font name of the text.
Default text field content. This is the text value to be used, but also the default value to which the field reverts when a reset-form action is executed. The default value can be in xml format for rich text.