Intial and reset of the instance.
Must be called first with every new PDF creation.
Syntax
METHOD PUBLIC Init : BOOL
VAR_INPUT
orientation: STRING;
unit : STRING;
page_format : STRING;
END_VAR
Parameters
|
Parameter |
Description |
|---|---|
|
orientation |
Page layout to be used by default for all pages of the document. Possible values are (case insensitive):
The portrait format is used by default. |
|
unit |
User-defined setting for the unit of measurement to be used within the document for position specifications, dimensions, distances, etc..:
One point corresponds to 1/72 of an inch, i.e. in about 0.35 mm (one inch corresponds to 2.54 cm). The unit dot is a unit often used in typography - font sizes are given in this unit. The standard size is mm. |
|
page_format |
Specifies the paper size. Possible values for the format are (case insensitive):
|
|
Return value |
Status of the call. |
Example
Requirements
Remarks