public XPaperSize Add(System.Drawing.Printing.PaperKind vKind, int vWidth, int vHeight) { XPaperSize size = new XPaperSize(vKind, vWidth, vHeight); this.List.Add(size); return(size); }
public void Add(System.Drawing.Printing.PrinterSettings settings) { foreach (System.Drawing.Printing.PaperSize size in settings.PaperSizes) { XPaperSize size2 = new XPaperSize(size.Kind, size.Width, size.Height); this.List.Add(size2); } }
public void Add(XPaperSize size) { this.List.Add(size); }