UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Defaults Class Reference

The defaults used for settings if not specified during object creation or set/changed. More...

Static Public Member Functions

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 Private Attributes

static PrintResolution PrinterResolution = new PrintResolution(Const.DEFAULT_DPI, ScaleEnum.Inch)
 The printer resolution used for all objects created unless a different resolution is set. More...
 
static Ruler Ruler = new Ruler(ScaleEnum.Dot)
 The ruler used by all objects if a specific ruler is not changed or provided. More...
 
static AlignEnum Alignment = AlignEnum.Left
 
static RotateEnum Rotation = RotateEnum.None
 
static CellSquare CellSize = new CellSquare(0.015f, new Ruler(ScaleEnum.Inch))
 The cell/module size for 2D barcodes if no size is specified. More...
 
static CellRect CellSizeRect = new CellRect(0.015f, 0.030f, new Ruler(ScaleEnum.Inch))
 The cell/module size for 2D barcodes if no size is specified. More...
 

Detailed Description

The defaults used for settings if not specified during object creation or set/changed.

Member Function Documentation

◆ 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

Member Data Documentation

◆ 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

The cell/module size for 2D barcodes if no size is specified.

Referenced by com.UniPRT.Sdk.LabelMaker.Defaults.GetCellSize(), and 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

The cell/module size for 2D barcodes if no size is specified.

Referenced by com.UniPRT.Sdk.LabelMaker.Defaults.GetCellSizeRect(), and com.UniPRT.Sdk.LabelMaker.Defaults.SetCellSizeRect().

◆ PrinterResolution

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

The printer resolution used for all objects created unless a different resolution is set.

The placement of objects within a plane depends on the printer resolution when using units other than dots.

Referenced by com.UniPRT.Sdk.LabelMaker.Defaults.GetPrinterResolution(), and 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

The ruler used by all objects if a specific ruler is not changed or provided.

By changing the settings of this ruler, it allows all objects to use a common ruler scale/resolution.

Referenced by com.UniPRT.Sdk.LabelMaker.Defaults.GetRuler(), and com.UniPRT.Sdk.LabelMaker.Defaults.SetRuler().


The documentation for this class was generated from the following file: