Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 280

Previous Page 279   Index   Next Page 281

Function Reference
Page 280 of 750
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: DecryptPDF