CRM_Utils_PDF_Label
class CRM_Utils_PDF_Label extends TCPDF
Class CRM_Utils_PDF_Label
Properties
$defaults | |||
$format | |||
$formatName | |||
$marginLeft | |||
$marginTop | |||
$xSpace | |||
$ySpace | |||
$xNumber | |||
$yNumber | |||
$width | |||
$height | |||
$lineHeight | |||
$paddingLeft | |||
$paddingTop | |||
$charSize | |||
$metricDoc | |||
$fontName | |||
$fontStyle | |||
$paperSize | |||
$orientation | |||
$paper_dimensions | |||
$countX | |||
$countY |
Methods
__construct($format, string|Unit $unit = 'mm')
Constructor.
SetGenerator($objectinstance, string $methodname = 'generateLabel')
No description
float|int|mixed
getFormatValue(string $name, bool $convert = FALSE)
No description
LabelSetFormat($format, $unit)
initialize label format settings.
generateLabel(string $text)
Generate the pdf of one label (can be modified using SetGenerator)
AddPdfLabel($texte)
Print a label.
array
getFontNames()
Get the available font names.
Details
at line 98
__construct($format, string|Unit $unit = 'mm')
Constructor.
at line 123
SetGenerator($objectinstance, string $methodname = 'generateLabel')
at line 134
float|int|mixed
getFormatValue(string $name, bool $convert = FALSE)
at line 155
LabelSetFormat($format, $unit)
initialize label format settings.
at line 186
generateLabel(string $text)
Generate the pdf of one label (can be modified using SetGenerator)
at line 232
AddPdfLabel($texte)
Print a label.
at line 263
array
getFontNames()
Get the available font names.