StarXpand SDK for React Native 開発者向けマニュアル Ver. 1.9.0
最終更新日: 2025年 5月 19日
もくじ
■ はじめに ■ StarXpand SDKの概要 ■ クイックスタート ■ APIご利用の手引き ■ APIリファレンス/一覧
■ FAQ
ページモードに関するStarXpandCommandを生成するクラス
コンストラクタ
PageModeBuilder()
オブジェクトの初期化
メソッド
stylePrintDirection(direction: StarXpandCommand.Printer.PageModePrintDirection)
印刷方向を設定
styleHorizontalPositionTo(position: number)
水平絶対位置を設定
styleHorizontalPositionBy(position: number)
水平相対位置を設定
styleVerticalPositionTo(position: number)
垂直絶対位置を設定
styleVerticalPositionBy(position: number)
垂直相対位置を設定
styleAmbiguousCharacterWidthType(type: StarXpandCommand.Printer.AmbiguousCharacterWidthType)
UTF-8の全半角あいまい文字を印字するときの幅タイプを設定
styleFont(type: StarXpandCommand.Printer.FontType)
フォントを設定
styleBold(enable: boolean)
太字を設定
styleInvert(enable: boolean)
白黒反転を設定
styleUnderLine(enable: boolean)
下線を設定
styleBaseMagnification(parameter: StarXpandCommand.Printer.BaseMagnificationParameter)
基本印字サイズを設定
styleMagnification(parameter: StarXpandCommand.MagnificationParameter)
拡大を設定
styleCharacterSpace(width: number)
文字間隔を設定
styleLineSpace(height: number)
行間隔を設定
styleHorizontalTabPositions(positions: Array<number>)
水平タブを設定
styleInternationalCharacter(type: StarXpandCommand.Printer.InternationalCharacterType)
国際文字を設定
styleSecondPriorityCharacterEncoding(type: StarXpandCommand.Printer.CharacterEncodingType)
第二優先文字エンコーディングを設定
styleCjkCharacterPriority(types: Array<StarXpandCommand.Printer.CjkCharacterType>)
CJK統合漢字優先順位を設定
actionPrintText(content: string, parameter?: StarXpandCommand.Printer.TextParameter | undefined)
テキスト印刷を実行
actionPrintBarcode(parameter: StarXpandCommand.Printer.BarcodeParameter)
バーコード印刷を実行
actionPrintPdf417(parameter: StarXpandCommand.Printer.Pdf417Parameter)
PDF417印刷を実行
actionPrintQRCode(parameter: StarXpandCommand.Printer.QRCodeParameter)
QRコード印刷を実行
actionPrintImage(parameter: StarXpandCommand.Printer.PageModeImageParameter)
画像印刷を実行
actionPrintRuledLine(parameter: StarXpandCommand.Printer.PageModeRuledLineParameter)
罫線印刷を実行
actionPrintRectangle(parameter: StarXpandCommand.Printer.PageModeRectangleParameter)
四角枠線印刷を実行
add(builder: StarXpandCommand.Printer.PageModeBuilder)
ページモードを追加
addPageMode(parameter: StarXpandCommand.Printer.PageModeAreaParameter, builder: PageModeBuilder)