DynaPDF Manual - Page 316
Previous Page 315 Index Next Page 317
Function Reference
Page 316 of 839
Return values:
If the function succeeds the return value is the field handle, a value greater or equal zero. If the
function fails the return value is a negative error code.
Specific flags supported by text fields:
Flag
Description
ffMultiline
If set, the field may contain multiple lines of text; if clear, the field’s text
is restricted to a single line.
ffPassword
If set, the field is intended for entering a secure password that should not
be echoed visibly to the screen. Characters typed from the keyboard
should instead be echoed in some unreadable form, such as asterisks or
bullet characters. To protect password confidentiality, the value of the
text field is not stored in the PDF file if this flag is set.
ffFileSelect
(PDF 1.4) If set, the text entered in the field represents the pathname of a
file whose contents are to be submitted as the value of the field.
ffDoNotSpellCheck
(PDF 1.4) If set, the text entered to the field will not be spell-checked.
ffDoNotScroll
(PDF 1.4) If set, the field will not scroll (horizontally for single-line fields,
vertically for multi-line fields) to accommodate more text than will fit
within its annotation rectangle. Once the field is full, no further text will
be accepted.
ffComb
(PDF 1.5) Meaningful only if MaxLen is set and if the flags ffMultiline,
ffPassword, and ffFileSelect flags are clear. If set, the field is
automatically divided up into as many equally spaced positions, or
combs, as the value of MaxLen, and the text is laid out into those combs.
Previous topic: CreateTextField
Next topic: CreateURIAction, CreateViewport