예제 #1
0
 /// <summary>
 /// Constuct a ^FD (Field Data) element, together with the ^FO, ^A and ^FH.Control character will be handled (Conver to Hex or replace with ' ')
 /// </summary>
 /// <param name="text">Original text content</param>
 /// <param name="positionX"></param>
 /// <param name="positionY"></param>
 /// <param name="fontWidth"></param>
 /// <param name="fontHeight"></param>
 /// <param name="fontName"></param>
 /// <param name="orientation"></param>
 /// <param name="useHexadecimalIndicator"></param>
 public ZPLTextField(string text, int positionX, int positionY, ZPLFont font, NewLineConversionMethod newLineConversion = NewLineConversionMethod.ToSpace, bool useHexadecimalIndicator = true, bool reversePrint = false) : base(positionX, positionY)
 {
     Text   = text;
     Origin = new ZPLOrigin(positionX, positionY);
     Font   = font;
     UseHexadecimalIndicator = useHexadecimalIndicator;
     NewLineConversion       = newLineConversion;
     ReversePrint            = reversePrint;
 }
예제 #2
0
 public ZPLBarcode(string content, int positionX, int positionY, int height, string orientation, bool printInterpretationLine, bool printInterpretationLineAboveCode) : base(positionX, positionY)
 {
     Origin                           = new ZPLOrigin(positionX, positionY);
     Content                          = content;
     Height                           = height;
     Orientation                      = orientation;
     PrintInterpretationLine          = printInterpretationLine;
     PrintInterpretationLineAboveCode = printInterpretationLineAboveCode;
 }
예제 #3
0
 public ZPLPositionedElementBase(int positionX, int positionY) : base()
 {
     Origin = new ZPLOrigin(positionX, positionY);
 }