namespace SteamWare { /// /// classe gestione parametri deviceper stampa /// public class devInfoParam { /// /// creazione oggetto parametri per stampa /// /// /// /// /// /// /// /// public devInfoParam(string _OutputFormat, string _PageHeight, string _PageWidth, string _MarginLeft, string _MarginRight, string _MarginTop, string _MarginBottom) { OutputFormat = _OutputFormat; PageHeight = _PageHeight; PageWidth = _PageWidth; MarginLeft = _MarginLeft; MarginRight = _MarginRight; MarginTop = _MarginTop; MarginBottom = _MarginBottom; } /// /// formato output /// public string OutputFormat { get; set; } /// /// altezza /// public string PageHeight { get; set; } /// /// larghezza /// public string PageWidth { get; set; } /// /// margine Sx /// public string MarginLeft { get; set; } /// /// margine Dx /// public string MarginRight { get; set; } /// /// margine Top /// public string MarginTop { get; set; } /// /// margine Bottom /// public string MarginBottom { get; set; } /// /// Gets the XML parameter. /// /// /// The XML parameter. /// public string xmlParam { get { return string.Format("" + " {0}" + " {1}" + " {2}" + " {3}" + " {4}" + " {5}" + " {6}" + "", OutputFormat, PageWidth, PageHeight, MarginTop, MarginLeft, MarginRight, MarginBottom); } } } }