Class PrintFileTXT
It represents a plain text file in the server that will be printed at the client side.
- Neodynamic\SDK\Web\PrintFile
- Neodynamic\SDK\Web\PrintFileTXT
public
|
|
public
|
__construct()
|
PREFIX,
SEP
|
public
string
|
$textContent | '' |
#
Gets or sets the Text content to be printed. Default is an empty string. |
public
integer
|
$textAlignment |
|
#
Gets or sets the alignment of the text content. Default is Left alignment. |
public
string
|
$fontName | 'Arial' |
#
Gets or sets the font name. Default is Arial. |
public
boolean
|
$fontBold | false |
#
Gets or sets whether the text is bold. Default is False. |
public
boolean
|
$fontItalic | false |
#
Gets or sets whether the text has the italic style applied. Default is False. |
public
boolean
|
$fontUnderline | false |
#
Gets or sets whether the text is underlined. Default is False. |
public
boolean
|
$fontStrikeThrough | false |
#
Gets or sets whether the text is printed with a horizontal line through it. Default is False. |
public
float
|
$fontSizeInPoints | 10.0 |
#
Gets or sets the font size in Points unit. Default is 10pt. |
public
string
|
$textColor | "#000000" |
#
Gets or sets the Color for the printed text. Color must be specified in Hex notation for RGB channels respectively e.g. #rgb or #rrggbb. Default is #000000. |
public
integer
|
$printOrientation |
|
#
Gets or sets the print orientation. Default is Portrait. |
public
float
|
$marginLeft | 0.5 |
#
Gets or sets the left margin for the printed text. Value must be specified in Inch unit. Default is 0.5in |
public
float
|
$marginRight | 0.5 |
#
Gets or sets the right margin for the printed text. Value must be specified in Inch unit. Default is 0.5in |
public
float
|
$marginTop | 0.5 |
#
Gets or sets the top margin for the printed text. Value must be specified in Inch unit. Default is 0.5in |
public
float
|
$marginBottom | 0.5 |
#
Gets or sets the bottom margin for the printed text. Value must be specified in Inch unit. Default is 0.5in |
$copies,
$deleteAfterPrinting,
$encryptMetadata,
$fileBinaryContent,
$fileExtension,
$fileIsPasswordProtected,
$fileName,
$filePath
|