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

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

Properties

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

Detailed Description

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

Property Documentation

◆ PrinterResolution

IPrintResolution UniPRT.Sdk.LabelMaker.Interfaces.Defaults.PrinterResolution = new PrintResolution(CONST.DEFAULT_DPI, ScaleEnum.Inch)
staticgetset

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.

◆ Ruler

IRuler UniPRT.Sdk.LabelMaker.Interfaces.Defaults.Ruler = new Ruler(ScaleEnum.Dot)
staticgetset

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.