MarkupUtil
NameSpace: StarMicronics.StarDocumentMarkup
Syntax
public static class MarkupUtil
Methods
Render(Byte[], StarPrinterEmulation, ConversionOptions)
Declaration
public static Stream Render(byte[] inputBuffer, StarPrinterEmulation outputEmulation, ConversionOptions options)
Parameters
Type |
Name |
Description |
---|---|---|
System.Byte[] |
inputBuffer |
入力byte配列バッファ, Starドキュメントマークアップ |
outputEmulation |
変換先に指定するプリンターエミュレーション |
|
options |
変換パラメーターと出力結果を指定するための変換オプション |
Returns
Type |
Description |
---|---|
System.IO.Stream |
指定したエミュレーションのプリンターコマンドが返されます。 |
Render(Stream, StarPrinterEmulation, ConversionOptions)
Declaration
public static Stream Render(Stream inputStream, StarPrinterEmulation outputEmulation, ConversionOptions options)
Parameters
Type |
Name |
Description |
---|---|---|
System.IO.Stream |
inputStream |
Starドキュメントマークアップが格納されたStreamオブジェクト |
outputEmulation |
変換先に指定するプリンターエミュレーション |
|
options |
変換パラメーターと出力結果を指定するための変換オプション |
Returns
Type |
Description |
---|---|
System.IO.Stream |
指定したエミュレーションのプリンターコマンドが返されます。 |
RenderFile(string, StarPrinterEmulation, ConversionOptions)
Declaration
public static Stream RenderFile(string fileName, StarPrinterEmulation outputEmulation, ConversionOptions options)
Parameters
Type |
Name |
Description |
---|---|---|
System.String |
fileName |
Starドキュメントマークアップが保存された入力ファイル名 |
outputEmulation |
変換先に指定するプリンターエミュレーション |
|
options |
変換パラメーターと出力結果を指定するための変換オプション |
Returns
Type |
Description |
---|---|
System.IO.Stream |
指定したエミュレーションのプリンターコマンドが返されます。 |
RenderWithApplyTemplate(Byte[], Byte[], StarPrinterEmulation, ConversionOptions)
Declaration
public static Stream RenderWithApplyTemplate(byte[] templateBuffer, byte[] fieldBuffer, StarPrinterEmulation outputEmulation, ConversionOptions options)
Parameters
Type |
Name |
Description |
---|---|---|
System.Byte[] |
templateBuffer |
入力byte配列バッファ, テンプレートデータ (Star Document Markup) |
System.Byte[] |
fieldBuffer |
入力byte配列バッファ, フィールドデータ (JSON) |
outputEmulation |
変換先に指定するプリンターエミュレーション |
|
options |
変換パラメーターと出力結果を指定するための変換オプション |
Returns
Type |
Description |
---|---|
System.IO.Stream |
指定したエミュレーションのプリンターコマンドが返されます。 |
RenderWithApplyTemplate(Stream, Stream, StarPrinterEmulation, ConversionOptions)
Declaration
public static Stream RenderWithApplyTemplate(Stream templateInputStream, Stream fieldInputStream, StarPrinterEmulation outputEmulation, ConversionOptions options)
Parameters
Type |
Name |
Description |
---|---|---|
System.IO.Stream |
templateInputStream |
入力テンプレートデータ (Star Document Markup) が格納されたStreamオブジェクト |
System.IO.Stream |
fieldInputStream |
入力フィールドデータ (JSON) が格納されたStreamオブジェクト |
outputEmulation |
変換先に指定するプリンターエミュレーション |
|
options |
変換パラメーターと出力結果を指定するための変換オプション |
Returns
Type |
Description |
---|---|
System.IO.Stream |
指定したエミュレーションのプリンターコマンドが返されます。 |
RenderFileWithApplyTemplate(string, string, StarPrinterEmulation, ConversionOptions)
Declaration
public static Stream RenderFileWithApplyTemplate(string templateFileName, string fieldFileName, StarPrinterEmulation outputEmulation, ConversionOptions options)
Parameters
Type |
Name |
Description |
---|---|---|
System.String |
templateFileName |
入力ファイル名, テンプレートデータ (Star Document Markup) |
System.String |
fieldFileName |
入力ファイル名, フィールドデータ (JSON) |
outputEmulation |
変換先に指定するプリンターエミュレーション |
|
options |
変換パラメーターと出力結果を指定するための変換オプション |
Returns
Type |
Description |
---|---|
System.IO.Stream |
指定したエミュレーションのプリンターコマンドが返されます。 |