Added in Version 1.3.0

PageModeBuilder

The class that creates StarXpandCommand for page mode

Constructor

PageModeBuilder()

Initialize object

Method

stylePrintDirection(direction: PageModePrintDirection)

Set the printing direction

styleHorizontalPositionTo(position: Double)

Set the horizontal absolute position

styleHorizontalPositionBy(position: Double)

Set the horizontal relative position

styleVerticalPositionTo(position: Double)

Set the vertical absolute position

styleVerticalPositionBy(position: Double)

Set the vertical relative position

styleAmbiguousCharacterWidthType(type: AmbiguousCharacterWidthType)

Set the Width type of a character when printing ambiguous characters in UTF-8

styleFont(type: FontType)

Set the font

styleBold(enable: Boolean)

Set the bold

styleInvert(enable: Boolean)

Set the inversion

styleUnderLine(enable: Boolean)

Set the underline

styleMagnification(parameter: MagnificationParameter)

Set the magnification

styleCharacterSpace(width: Double)

Set the character spacing

styleLineSpace(height: Double)

Set the line spacing

styleHorizontalTabPositions(positions: List<Int>)

Set the horizontal tab positions

styleInternationalCharacter(type: InternationalCharacterType)

Set international character

styleSecondPriorityCharacterEncoding(type: CharacterEncodingType)

Set the secondary character encoding

styleCjkCharacterPriority(types: List<CjkCharacterType>)

Set the priority of CJK unified ideographs

actionPrintText(content: String, parameter: TextParameter? = null)

Execute text printing

actionPrintBarcode(parameter: BarcodeParameter)

Execute barcode printing

actionPrintPdf417(parameter: Pdf417Parameter)

Execute PDF417 printing

actionPrintQRCode(parameter: QRCodeParameter)

Execute QR code printing

actionPrintImage(parameter: PageModeImageParameter)

Execute image printing

actionPrintRuledLine(parameter: PageModeRuledLineParameter)

Execute ruled line printing

actionPrintRectangle(parameter: PageModeRectangleParameter)

Execute rectangle printing

add(builder: PageModeBuilder)

Add a page mode

addPageMode(parameter: PageModeAreaParameter, builder: PageModeBuilder)

Add a page mode