Output
in package
AbstractYes
Com\Tecnick\Pdf\Image\Output
Tags
Table of Contents
Methods
- __construct() : mixed
- Initialize images data.
- getObjectNumber() : int
- Returns current PDF object number.
- getOutImagesBlock() : string
- Get the PDF output string for Images.
- getSetImage() : string
- Get the PDF output string to print the specified image ID.
- getXobjectDict() : string
- Return XObjects Dictionary portion for the images.
- getXobjectDictByKeys() : string
- Return XObjects Dictionary.
Methods
__construct()
Initialize images data.
public __construct(float $kunit,
Encrypt $encrypt[,
bool $pdfa
= false
][,
bool $compress
= true
]) : mixed
Parameters
- $kunit : float
-
Unit of measure conversion ratio.
- $encrypt : Encrypt
-
Encrypt object.
- $pdfa : bool = false
-
True if we are in PDF/A mode.
- $compress : bool = true
-
Set to false to disable stream compression.
getObjectNumber()
Returns current PDF object number.
public getObjectNumber()
: int
Return values
intgetOutImagesBlock()
Get the PDF output string for Images.
public getOutImagesBlock(int $pon)
: string
Parameters
- $pon : int
-
Current PDF Object Number.
Return values
string —PDF code for the images block.
getSetImage()
Get the PDF output string to print the specified image ID.
public getSetImage(int $iid,
float $xpos,
float $ypos,
float $width,
float $height,
float $pageheight)
: string
Parameters
- $iid : int
-
Image ID.
- $xpos : float
-
Abscissa (X coordinate) of the upper-left Image corner in user units.
- $ypos : float
-
Ordinate (Y coordinate) of the upper-left Image corner in user units.
- $width : float
-
Image width in user units.
- $height : float
-
Image height in user units.
- $pageheight : float
-
Page height in user units.
Return values
string —Image PDF page content.
getXobjectDict()
Return XObjects Dictionary portion for the images.
public getXobjectDict()
: string
Return values
stringgetXobjectDictByKeys()
Return XObjects Dictionary.
public getXobjectDictByKeys(array<string|int,
int> $keys)
: string
Parameters
- $keys : array<string|int, int>
-
Image IDs.