Constructor. Internal use.
Image
Image
(
Rtf &$rtf,
string $fileName,
ParFormat &$parFormat,
float $width,
flaot $height)
-
Rtf
&$rtf
-
string
$fileName: Name of file
-
ParFormat
&$parFormat: Paragraph format
-
float
$width
-
flaot
$height
Gets rtf code of image. Internal use.
string
getContent
()
Sets borders of element.
void
setBorders
(
BorderFormat &$borderFormat, [
boolean $left =
true], [
boolean $top =
true], [
boolean $right =
true], [
boolean $bottom =
true])
-
BorderFormat
&$borderFormat
-
boolean
$left: If false, left border is not set (default true)
-
boolean
$top: If false, top border is not set (default true)
-
boolean
$right: If false, right border is not set (default true)
-
boolean
$bottom: If false, bottom border is not set (default true)
Sets height of image.
void
setHeight
(float $height)
-
float
$height: Height. If not defined image is displayed by it's width.
Sets width of image.
void
setWidth
(float $width)
-
float
$width: Width If not defined image is displayed by it's height.