SetTextProp: Defines a text anchor together [ 48 ]
Description
This function exists only in forms and cannot be invoked from within a program. It is supposed to be found in a form where it defines various properties attached to that text anchor and which will shape the way fields will be displayed. It takes 10 arguments which fully defines a text anchor:
- PX ⇒ X location of the text which will be displayed
- PY ⇒ Y location of the text which will be displayed
- IX ⇒ Width or Delta X ; -1 if not relevant
- IY ⇒ Height or Delta Y; -1 if not relevant
- CR ⇒ Red component of text color
- CG ⇒ Green component of text color
- CB ⇒ Blue component of text color
- FF ⇒ Font Family
- FST ⇒ Font Style
- FSZ ⇒ Font Size
- Maximum number of anchors across all forms of a PDF document is set in configuration file by the key MX_NBTXP. if that number is reached, this instruction is ignored with a warning message in the SYSOUT.
- IX and IY are frequently not relevant. These two arguments may contain miscellaneous variables if there is an agreement between people respectively in charge of programs and of forms where these instructions appear.
- Provided function SetCustColors() is used, the three arguments related to Text color may be negative. In that case, user default colors will be used instead of the negative ones.
C calling syntax
Not callable from a C progam
Cobol calling syntax
Not callable from a Cobol progam