private void AddToPrint() { CustomPrintModel model = new CustomPrintModel { Text = this._text, Copies = this._copies, FontType = this._selectedFont, FontSize = this._selectedFontSize, FontStyle = this._selectedFontStyle, FontWeight = this._selectedFontWeight, PaperHeight = this.PaperSize[_selectedPaperSize].PrintHeight, PaperWidth = this.PaperSize[_selectedPaperSize].PrintWidth, HorizontalAlignment = this._horizontalContentAlignment, VerticalAlignment = this._verticalContentAlignment }; CustomLablePrint print = new CustomLablePrint(model); }
public CustomLablePrint(CustomPrintModel model) { this.model = model; InitialSettingsAndPrint(); }