DynaPDF Manual - Page 861

Previous Page 860   Index   Next Page 862

Function Reference
Page 861 of 874
\EL#
// End list
\FC[UI32]
// Font color
\FS[float]
// Font size
\FT[various]
// See description below
\HA[int, int]
// Highlight annot, see description
\LD[letter 't' or float] // Leading or line height, see description
\LI[float, int, float]
// List, see description on the next page
\LK[bool, bool, bool,
// Add a link, see description
char*]
\TL[int]
// Tab length
\TR[float]
// Text rise
\TS[float]
// Text scaling
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.
Note that the backslash is an escape character in C/C++ literal strings. For better readability the
second backslash is omitted. Note also that the backslash must be escaped in literal strings only.
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
 

Previous topic: Command tags

Next topic: Special characters