UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Defaults类 参考

在对象创建或设置/更改时未指定时使用的默认设置。 更多...

静态 Public 成员函数

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)
 

静态 Private 属性

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().


该类的文档由以下文件生成: