Ejemplo n.º 1
0
 /// <summary>
 /// Set Textposition in milimeter
 /// </summary>
 /// <param name="dpiHelper"></param>
 /// <param name="fromLeft"></param>
 /// <param name="fromTop"></param>
 /// <returns></returns>
 public LabelTextGenerator At(ZplLabels.Utilities.DPIHelper dpiHelper, double fromLeft, double fromTop,
                              LabelPosition.LabelAlignemnet alignment)
 {
     _position = new LabelPosition(dpiHelper.mmToPx(fromLeft), dpiHelper.mmToPx(fromTop), alignment);
     return(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set Textposition in Pixel
 /// </summary>
 /// <param name="fromLeft"></param>
 /// <param name="fromTop"></param>
 /// <returns></returns>
 public LabelTextGenerator At(int fromLeft, int fromTop, LabelPosition.LabelAlignemnet alignment)
 {
     _position = new LabelPosition(fromLeft, fromTop, alignment);
     return(this);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Set Barcode position in pixel
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public LabelBarcodeGenerator At(int x, int y, LabelPosition.LabelAlignemnet alignment)
 {
     _position = new LabelPosition(x, y, alignment);
     return(this);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Set Barcode Position in milimeter
 /// </summary>
 /// <param name="dpiHelper"></param>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public LabelBarcodeGenerator At(ZplLabels.Utilities.DPIHelper dpiHelper, double x, double y,
                                 LabelPosition.LabelAlignemnet alignment)
 {
     _position = new LabelPosition(dpiHelper.mmToPx(x), dpiHelper.mmToPx(y), alignment);
     return(this);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Set Graphic Box position in pixel
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public GraphicBoxGenerator At(int x, int y, LabelPosition.LabelAlignemnet alignment)
 {
     _position = new LabelPosition(x, y, alignment);
     return(this);
 }