UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Defaults 類別 參考文件

在物件建立或設定/更改時未指定時使用的預設設定。 更多...

靜態公開方法(Static Public Methods)

static PrintResolution GetPrinterResolution ()
 
static void SetPrinterResolution (PrintResolution resolution)
 
static Ruler GetRuler ()
 
static void SetRuler (Ruler ruler)
 
static AlignEnum GetAlignment ()
 
static void SetAlignment (AlignEnum alignment)
 
static RotateEnum GetRotation ()
 
static void SetRotation (RotateEnum rotation)
 
static CellSquare GetCellSize ()
 
static void SetCellSize (CellSquare cellSize)
 
static CellRect GetCellSizeRect ()
 
static void SetCellSizeRect (CellRect cellSizeRect)
 

靜態私有屬性

static PrintResolution PrinterResolution = new PrintResolution(Const.DEFAULT_DPI, ScaleEnum.Inch)
 除非設定了不同的解析度,否則所有建立的物件都使用的印表機解析度。 更多...
 
static Ruler Ruler = new Ruler(ScaleEnum.Dot)
 如果未更改或提供特定的標尺,則所有物件使用的標尺。 更多...
 
static AlignEnum Alignment = AlignEnum.Left
 
static RotateEnum Rotation = RotateEnum.None
 
static CellSquare CellSize = new CellSquare(0.015f, new Ruler(ScaleEnum.Inch))
 如果未指定大小,則2D條碼的單元/模組大小。 更多...
 
static CellRect CellSizeRect = new CellRect(0.015f, 0.030f, new Ruler(ScaleEnum.Inch))
 如果未指定大小,則2D條碼的單元/模組大小。 更多...
 

詳細描述

在物件建立或設定/更改時未指定時使用的預設設定。

函式成員說明文件

◆ GetAlignment()

static AlignEnum com.UniPRT.Sdk.LabelMaker.Defaults.GetAlignment ( )
static

◆ GetCellSize()

static CellSquare com.UniPRT.Sdk.LabelMaker.Defaults.GetCellSize ( )
static

◆ GetCellSizeRect()

static CellRect com.UniPRT.Sdk.LabelMaker.Defaults.GetCellSizeRect ( )
static

◆ GetPrinterResolution()

◆ GetRotation()

static RotateEnum com.UniPRT.Sdk.LabelMaker.Defaults.GetRotation ( )
static

◆ GetRuler()

◆ SetAlignment()

static void com.UniPRT.Sdk.LabelMaker.Defaults.SetAlignment ( AlignEnum  alignment)
static

◆ SetCellSize()

static void com.UniPRT.Sdk.LabelMaker.Defaults.SetCellSize ( CellSquare  cellSize)
static

◆ SetCellSizeRect()

static void com.UniPRT.Sdk.LabelMaker.Defaults.SetCellSizeRect ( CellRect  cellSizeRect)
static

◆ SetPrinterResolution()

static void com.UniPRT.Sdk.LabelMaker.Defaults.SetPrinterResolution ( PrintResolution  resolution)
static

◆ SetRotation()

static void com.UniPRT.Sdk.LabelMaker.Defaults.SetRotation ( RotateEnum  rotation)
static

◆ SetRuler()

static void com.UniPRT.Sdk.LabelMaker.Defaults.SetRuler ( Ruler  ruler)
static

資料成員說明文件

◆ Alignment

AlignEnum com.UniPRT.Sdk.LabelMaker.Defaults.Alignment = AlignEnum.Left
staticprivate

◆ CellSize

CellSquare com.UniPRT.Sdk.LabelMaker.Defaults.CellSize = new CellSquare(0.015f, new Ruler(ScaleEnum.Inch))
staticprivate

如果未指定大小,則2D條碼的單元/模組大小。

被參考於 com.UniPRT.Sdk.LabelMaker.Defaults.GetCellSize(), 及 com.UniPRT.Sdk.LabelMaker.Defaults.SetCellSize().

◆ CellSizeRect

CellRect com.UniPRT.Sdk.LabelMaker.Defaults.CellSizeRect = new CellRect(0.015f, 0.030f, new Ruler(ScaleEnum.Inch))
staticprivate

如果未指定大小,則2D條碼的單元/模組大小。

被參考於 com.UniPRT.Sdk.LabelMaker.Defaults.GetCellSizeRect(), 及 com.UniPRT.Sdk.LabelMaker.Defaults.SetCellSizeRect().

◆ PrinterResolution

PrintResolution com.UniPRT.Sdk.LabelMaker.Defaults.PrinterResolution = new PrintResolution(Const.DEFAULT_DPI, ScaleEnum.Inch)
staticprivate

除非設定了不同的解析度,否則所有建立的物件都使用的印表機解析度。

當使用非點的單位時,物件在平面中的放置取決於印表機的解析度。

被參考於 com.UniPRT.Sdk.LabelMaker.Defaults.GetPrinterResolution(), 及 com.UniPRT.Sdk.LabelMaker.Defaults.SetPrinterResolution().

◆ Rotation

RotateEnum com.UniPRT.Sdk.LabelMaker.Defaults.Rotation = RotateEnum.None
staticprivate

◆ Ruler

Ruler com.UniPRT.Sdk.LabelMaker.Defaults.Ruler = new Ruler(ScaleEnum.Dot)
staticprivate

如果未更改或提供特定的標尺,則所有物件使用的標尺。

透過更改此標尺的設定,可使所有物件使用相同的標尺比例/解析度。

被參考於 com.UniPRT.Sdk.LabelMaker.Defaults.GetRuler(), 及 com.UniPRT.Sdk.LabelMaker.Defaults.SetRuler().


此類別(class) 文件是由下列檔案中產生: