UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.Interfaces.Defaults.Defaults Class Reference

Public Member Functions

 initialize (cls)
 
IPrintResolution printer_resolution (cls)
 
 set_printer_resolution (cls, IPrintResolution printer_resolution)
 The printer resolution used for all objects created unless a different resolution is set.
 
IRuler ruler (cls)
 
 set_ruler (cls, IRuler ruler)
 Sets the default ruler for scaling and positioning.
 
AlignEnum alignment (cls)
 
 set_alignment (cls, AlignEnum alignment)
 Sets the default alignment for objects.
 
RotateEnum rotation (cls)
 
 set_rotation (cls, RotateEnum rotation)
 Sets the default rotation for objects.
 
ICellSquare cell_size (cls)
 
 set_cell_size (cls, ICellSquare cell_size)
 The cell/module size for 2D barcodes if no size is specified.
 
ICellRect cell_size_rect (cls)
 
 set_cell_size_rect (cls, ICellRect cell_size_rect)
 The cell/module size for 2D barcodes if no size is specified.
 

Protected Attributes

 _printer_resolution
 
 _ruler
 
 _cell_size
 
 _cell_size_rect
 
 _alignment
 
 _rotation
 

Static Protected Attributes

Optional _printer_resolution = None
 
Optional _ruler = None
 
AlignEnum _alignment = AlignEnum.LEFT
 
RotateEnum _rotation = RotateEnum.NONE
 
Optional _cell_size = None
 
Optional _cell_size_rect = None
 

Member Function Documentation

◆ alignment()

AlignEnum LabelMaker.Interfaces.Defaults.Defaults.alignment ( cls)

◆ cell_size()

ICellSquare LabelMaker.Interfaces.Defaults.Defaults.cell_size ( cls)

◆ cell_size_rect()

ICellRect LabelMaker.Interfaces.Defaults.Defaults.cell_size_rect ( cls)

◆ initialize()

LabelMaker.Interfaces.Defaults.Defaults.initialize ( cls)

◆ printer_resolution()

IPrintResolution LabelMaker.Interfaces.Defaults.Defaults.printer_resolution ( cls)

◆ rotation()

RotateEnum LabelMaker.Interfaces.Defaults.Defaults.rotation ( cls)

◆ ruler()

IRuler LabelMaker.Interfaces.Defaults.Defaults.ruler ( cls)

◆ set_alignment()

LabelMaker.Interfaces.Defaults.Defaults.set_alignment ( cls,
AlignEnum alignment )

Sets the default alignment for objects.

◆ set_cell_size()

LabelMaker.Interfaces.Defaults.Defaults.set_cell_size ( cls,
ICellSquare cell_size )

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

◆ set_cell_size_rect()

LabelMaker.Interfaces.Defaults.Defaults.set_cell_size_rect ( cls,
ICellRect cell_size_rect )

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

◆ set_printer_resolution()

LabelMaker.Interfaces.Defaults.Defaults.set_printer_resolution ( cls,
IPrintResolution printer_resolution )

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.

◆ set_rotation()

LabelMaker.Interfaces.Defaults.Defaults.set_rotation ( cls,
RotateEnum rotation )

Sets the default rotation for objects.

◆ set_ruler()

LabelMaker.Interfaces.Defaults.Defaults.set_ruler ( cls,
IRuler ruler )

Sets the default ruler for scaling and positioning.

Member Data Documentation

◆ _alignment [1/2]

AlignEnum LabelMaker.Interfaces.Defaults.Defaults._alignment = AlignEnum.LEFT
staticprotected

◆ _alignment [2/2]

LabelMaker.Interfaces.Defaults.Defaults._alignment
protected

◆ _cell_size [1/2]

Optional LabelMaker.Interfaces.Defaults.Defaults._cell_size = None
staticprotected

◆ _cell_size [2/2]

LabelMaker.Interfaces.Defaults.Defaults._cell_size
protected

◆ _cell_size_rect [1/2]

Optional LabelMaker.Interfaces.Defaults.Defaults._cell_size_rect = None
staticprotected

◆ _cell_size_rect [2/2]

LabelMaker.Interfaces.Defaults.Defaults._cell_size_rect
protected

◆ _printer_resolution [1/2]

Optional LabelMaker.Interfaces.Defaults.Defaults._printer_resolution = None
staticprotected

◆ _printer_resolution [2/2]

LabelMaker.Interfaces.Defaults.Defaults._printer_resolution
protected

◆ _rotation [1/2]

RotateEnum LabelMaker.Interfaces.Defaults.Defaults._rotation = RotateEnum.NONE
staticprotected

◆ _rotation [2/2]

LabelMaker.Interfaces.Defaults.Defaults._rotation
protected

◆ _ruler [1/2]

Optional LabelMaker.Interfaces.Defaults.Defaults._ruler = None
staticprotected

◆ _ruler [2/2]

LabelMaker.Interfaces.Defaults.Defaults._ruler
protected

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