UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties Class Reference

Non-default parameters for 1D barcodes. More...

Public Member Functions

 Barcode_1D_Properties ()
 
PGL.Barcode_Type1D getType ()
 Sets the barcode type for which the parameters apply to. More...
 
void SetType (PGL.Barcode_Type1D type)
 
PGL.Rotation GetRotation ()
 Optional rotation, DIR, based on PGL documentation. More...
 
void SetRotation (PGL.Rotation rotation)
 
String GetMagnification ()
 Optional magnification, MAG, based on PGL documentation. More...
 
void SetMagnification (String magnification)
 
float GetHeight ()
 Optional Height, Hn[.m], based on PGL documentation. More...
 
void SetHeight (float height)
 
boolean IsPrintHumanReadable ()
 Prints the PDF human readable at bottom of barcode. More...
 
void SetPrintHumanReadable (boolean printHumanReadable)
 
boolean IsPrintHumanReadableOnTop ()
 Prints the PDF human readable at top of barcode. More...
 
void SetPrintHumanReadableOnTop (boolean printHumanReadableOnTop)
 

Private Attributes

PGL.Barcode_Type1D type = PGL.Barcode_Type1D.NOT_DEFINED
 
PGL.Rotation rotation = PGL.Rotation.None
 
String magnification = ""
 
float height = 0.0f
 
boolean printHumanReadable = false
 
boolean printHumanReadableOnTop = false
 

Detailed Description

Non-default parameters for 1D barcodes.

Todo:
This is the basic structure common to 1D barcodes.
Different barcode types have different parameters that a user may want to customize.
Each of the following will need their own interface if we want to expose all 1D PGL parameters:
  • CODE93; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR;SC
  • C3/9 [CD]; [HIBC;] [DIR;] [MAG;] [Hn[.m];] [BFn;L;]SR;SC
  • CODABAR[CD];[DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR;SC
  • ITF14;[DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR; SC
  • C128A or C128B or C128C; [HIBC;] [DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR; SC
  • UCC-128; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] SR;SC
  • EAN13[+n]; [DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] SR;SC
  • UPC-A[+n];[DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] SR; SC
  • EAN8[+n]; [DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] SR; SC

Constructor & Destructor Documentation

◆ Barcode_1D_Properties()

com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.Barcode_1D_Properties ( )

Member Function Documentation

◆ GetHeight()

float com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.GetHeight ( )

Optional Height, Hn[.m], based on PGL documentation.

References com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.height.

Referenced by com.UniPRT.Sdk.LabelMaker.PglLib.Barcode1D.Barcode1D().

◆ GetMagnification()

String com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.GetMagnification ( )

Optional magnification, MAG, based on PGL documentation.

References com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.magnification.

Referenced by com.UniPRT.Sdk.LabelMaker.PglLib.Barcode1D.Barcode1D().

◆ GetRotation()

PGL.Rotation com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.GetRotation ( )

◆ getType()

PGL.Barcode_Type1D com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.getType ( )

Sets the barcode type for which the parameters apply to.

References com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.type.

Referenced by com.UniPRT.Sdk.LabelMaker.PglLib.Barcode1D.Barcode1D().

◆ IsPrintHumanReadable()

boolean com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.IsPrintHumanReadable ( )

◆ IsPrintHumanReadableOnTop()

boolean com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.IsPrintHumanReadableOnTop ( )

◆ SetHeight()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetHeight ( float  height)

◆ SetMagnification()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetMagnification ( String  magnification)

◆ SetPrintHumanReadable()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetPrintHumanReadable ( boolean  printHumanReadable)

◆ SetPrintHumanReadableOnTop()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetPrintHumanReadableOnTop ( boolean  printHumanReadableOnTop)

◆ SetRotation()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetRotation ( PGL.Rotation  rotation)

◆ SetType()

void com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.SetType ( PGL.Barcode_Type1D  type)

Member Data Documentation

◆ height

float com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.height = 0.0f
private

◆ magnification

String com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.magnification = ""
private

◆ printHumanReadable

boolean com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.printHumanReadable = false
private

◆ printHumanReadableOnTop

boolean com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.printHumanReadableOnTop = false
private

◆ rotation

PGL.Rotation com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.rotation = PGL.Rotation.None
private

◆ type

PGL.Barcode_Type1D com.UniPRT.Sdk.LabelMaker.PglLib.Barcode_1D_Properties.type = PGL.Barcode_Type1D.NOT_DEFINED
private

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