Font constructor
Font
Font
([int $size = 10], [string $font = ''], [string $fontColor = ''], [string $backColor = ''])
-
int
$size: Font size
-
string
$font: Font (etc. "Times new Roman", "Arial" and other)
-
string
$fontColor: Font color
-
string
$backColor: Background color of font
Gets rtf code of font. Internal use.
string
getContent
(
&$rtf,
Rtf $rtf)
-
Rtf
$rtf: Rtf object
-
&$rtf
Sets animated text properties.
void
setAnimatedText
(integer $animatedText)
-
integer
$animatedText: Animated Text Properties. Possible values:
'1' => Las Vegas Lights,
'2' => Blinking background,
'3' => Sparkle text,
'4' => Marching black ants,
'5' => Marching red ants,
'6' => Shimmer
Sets text bold.
void
setBold
()
Sets text italic.
void
setItalic
()
Sets strikethrough of text.
void
setStrike
([$strike $strike = 1])
-
$strike
$strike: If 1 then single, if 2 then double
Sets text underline.
void
setUnderline
()