/// <summary> /// Sets Homeposition of Label in mm /// </summary> /// <param name="dpiHelper"></param> /// <param name="fromLeft"></param> /// <param name="fromTop"></param> /// <returns></returns> public ZplLabel At(ZplLabels.Utilities.DPIHelper dpiHelper, double fromLeft, double fromTop) { ; _homeX = dpiHelper.mmToPx(fromLeft); _homeY = dpiHelper.mmToPx(fromTop); return(this); }
public ZplLabel Length(ZplLabels.Utilities.DPIHelper dpiHelper, double length) { _length = dpiHelper.mmToPx(length); return(this); }
/// <summary> /// Cut Offset in milimeter /// </summary> /// <param name="dpiHelper"></param> /// <param name="offset"></param> /// <returns></returns> public ZplLabel CutOffset(ZplLabels.Utilities.DPIHelper dpiHelper, double offset) { _customCutOffset = dpiHelper.mmToPx(offset); return(this); }
/// <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); }
/// <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) { _position = new LabelPosition(dpiHelper.mmToPx(fromLeft), dpiHelper.mmToPx(fromTop)); return(this); }
public IFieldGenerator Move(ZplLabels.Utilities.DPIHelper dpiHelper, double fromLeft, double fromTop) { _position = new LabelPosition(_position.X + dpiHelper.mmToPx(fromLeft), _position.Y + dpiHelper.mmToPx(fromTop), _position.Alignment); return(this); }
/// <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); }
/// <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) { _position = new LabelPosition(dpiHelper.mmToPx(x), dpiHelper.mmToPx(y)); return(this); }