Overview

Namespaces

  • Neodynamic
    • SDK
      • Web

Classes

  • ClientPrinter
  • ClientPrintJob
  • ClientPrintJobGroup
  • DefaultPrinter
  • Duplex
  • EncryptMetadata
  • InstalledPrinter
  • NetworkPrinter
  • ParallelPortPrinter
  • PrintFile
  • PrintFileDOC
  • PrintFilePDF
  • PrintFileTXT
  • PrintFileXLS
  • PrintOrientation
  • PrintRotation
  • SecUtils
  • SerialPortHandshake
  • SerialPortParity
  • SerialPortPrinter
  • SerialPortStopBits
  • Sizing
  • TextAlignment
  • UserSelectedPrinter
  • Utils
  • WebClientPrint
  • Overview
  • Namespace
  • Class
  • Tree

Class PrintFileTXT

It represents a plain text file in the server that will be printed at the client side.

Neodynamic\SDK\Web\PrintFile
Extended by Neodynamic\SDK\Web\PrintFileTXT
Namespace: Neodynamic\SDK\Web
Located at WebClientPrint.php
Methods summary
public
# serialize( )

Overrides

Neodynamic\SDK\Web\PrintFile::serialize()
public
# getFileContent( )

Overrides

Neodynamic\SDK\Web\PrintFile::getFileContent()
Methods inherited from Neodynamic\SDK\Web\PrintFile
__construct()
Constants inherited from Neodynamic\SDK\Web\PrintFile
PREFIX, SEP
Properties summary
public string $textContent ''
#

Gets or sets the Text content to be printed. Default is an empty string.

Gets or sets the Text content to be printed. Default is an empty string.

public integer $textAlignment Neodynamic\SDK\Web\TextAlignment::Left
#

Gets or sets the alignment of the text content. Default is Left alignment.

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.

Gets or sets the font name. Default is Arial.

public boolean $fontBold false
#

Gets or sets whether the text is bold. Default is 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.

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.

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.

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.

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.

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 Neodynamic\SDK\Web\PrintOrientation::Portrait
#

Gets or sets the print orientation. Default is Portrait.

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

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

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

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

Gets or sets the bottom margin for the printed text. Value must be specified in Inch unit. Default is 0.5in

Properties inherited from Neodynamic\SDK\Web\PrintFile
$copies, $deleteAfterPrinting, $encryptMetadata, $fileBinaryContent, $fileExtension, $fileIsPasswordProtected, $fileName, $filePath
WebClientPrintPHP API documentation generated by ApiGen 2.8.0