DynaPDF Manual - Page 760

Previous Page 759   Index   Next Page 761

Function Reference
Page 760 of 770
\FS[float]
// font size
\FC[UI32]
// font color
\FT[int or char*]
// font handle or PostScript name
\BM[char*]
// add a bookmark
\LI[float, int, float] // list, see description at the next page
\EL#
// end list
Two categories of command tags are available, those without a parameter and the others which
require one or more parameters. The tags which require no parameter end with a numbersign
(character code 35). Parameters are always encapsulated into brackets. The values inside the brackets
must be defined without trailing spaces or other characters. Note that all characters before and after
a tag will be printed.
Example:
"This is a \\ul#\\FC[255]red\\FC[0]\\ul# string!" = This is a red string!
Tag
Description
\ul#
Draw the following text as underlined text. The next \ul# tag deactivates
underlined output:
"This is \\ul#underlined\\ul# text!" = This is underlined text!
\st#
Draw the following text as strikeout text. The next \st# tag deactivates
underlined output:
"This is \\st#strikout\\st# text!" = This is strikeout text!
\us#
Draw the following text as underlined and strikeout text. The next \us# tag
deactivates the tag:
"This is \\us#underlined + strikeout\\us# text!" = This is
underlined + strikeout text!
\np#
This tag creates a page break event. If the OnPageBreak callback function was
set, the function is called without leaving the current page. The current page is
still open, so that it is possible to make arbitrary changes inside the callback
function such as changing the font, changing the output rectangle or closing
the current page and opening another one so that the remaining text can be
printed.
If no callback function was set, the current page will be closed and the
remaining text will be printed on the next page by using the same output
rectangle. See also SetOnPageBreakProc(), ConnectPageBreakEvent().
\TL[int]
The tag changes the current tabulator length. The value must be in the range 1
to 255. See also SetTabLen().
 

Previous topic: Command tags

Next topic: Special characters