Specify font style and variable attributes
$style stylecodes
Commands in the GCT file are normally generated and maintained by FFVIEWER, and for most Graphical Customization applications it is not necessary to view or edit the GCT file.
This command is used to specify a text font style to be used for text which follows in the GCT file, and also to specify attributes of the annotation.
The parameter on this command is used as follows:
| stylecodes | one or more of the following letters/digits (case is ignored) |
| A | auto-adjust width of boxed, reversed or non-transparent text |
| B | use bold face font style |
| C | center the text horizontally in the specified rectangle |
| D | right-justify the text in the specified rectangle |
| G | Force the annotation text to be treated as a BMP graphic filename |
| H | Expand a subset of HTML syntax (see below) |
| I | use italic face font style |
| K | 'Krunch' multi-line text so that embedded blank lines are omitted |
| N | No attributes (used to reset attributes) |
| R | Reverse text (white on black) |
| T | Use a transparent background when applying the annotation |
| X | Draw a box on the surrounding rectangle specified by $position |
| (digits) | The numeric code defined by Windows for the character set, if other than the default character set. |
Note that automatic width adjustment is done after macro expansion, but only for single lines of text, which is boxed, reversed, or opaque.
The attributes for boxed text, reversed text, or opaque background are not supported (and are ignored) for text at an angle specified by $angle.
Default: normal style text, no box, left justified, opaque, black on white, default character set.
Examples:
$style BIX ; bold-italic, boxed
$style MX161 ; boxed multi-line text, Greek character set
HTML Expansion
The following subset of HTML syntax is supported:
| <u>bold</u> | underline text |
| <ind=50> | indent one line 50 pixels |
The HTML syntax is minimally validated and it is recommended that you carefully test annotations coded in HTML. Syntax other than that listed above may have unpredictable results. In addition to the above syntax, the following conversions are done:
|   | (non-breaking space) |
If the alignment or indentation operators are used in the middle of the text, they must be preceded by a line break (<br>); otherwise the indentation will be changed immediately and the text will overwrite. If the annotation is also coded for right-justification or centering, this will be done automatically by adding the appropriate <AL=alignment> syntax at the start of the text.
HTML syntax is not supported for text at an angle.
Topic url:
http://www.copia.com/support/refmanual/index.html?$style.htm