refresh typo
This commit is contained in:
@@ -1,79 +1,79 @@
|
||||
namespace SteamWare
|
||||
{
|
||||
/// <summary>
|
||||
/// classe gestione parametri device per stampa
|
||||
/// </summary>
|
||||
public class devInfoParam
|
||||
{
|
||||
/// <summary>
|
||||
/// classe gestione parametri deviceper stampa
|
||||
/// creazione oggetto parametri per stampa
|
||||
/// </summary>
|
||||
public class devInfoParam
|
||||
/// <param name="_OutputFormat"></param>
|
||||
/// <param name="_PageHeight"></param>
|
||||
/// <param name="_PageWidth"></param>
|
||||
/// <param name="_MarginLeft"></param>
|
||||
/// <param name="_MarginRight"></param>
|
||||
/// <param name="_MarginTop"></param>
|
||||
/// <param name="_MarginBottom"></param>
|
||||
public devInfoParam(string _OutputFormat, string _PageHeight, string _PageWidth, string _MarginLeft, string _MarginRight, string _MarginTop, string _MarginBottom)
|
||||
{
|
||||
/// <summary>
|
||||
/// creazione oggetto parametri per stampa
|
||||
/// </summary>
|
||||
/// <param name="_OutputFormat"></param>
|
||||
/// <param name="_PageHeight"></param>
|
||||
/// <param name="_PageWidth"></param>
|
||||
/// <param name="_MarginLeft"></param>
|
||||
/// <param name="_MarginRight"></param>
|
||||
/// <param name="_MarginTop"></param>
|
||||
/// <param name="_MarginBottom"></param>
|
||||
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;
|
||||
}
|
||||
/// <summary>
|
||||
/// formato output
|
||||
/// </summary>
|
||||
public string OutputFormat { get; set; }
|
||||
/// <summary>
|
||||
/// altezza
|
||||
/// </summary>
|
||||
public string PageHeight { get; set; }
|
||||
/// <summary>
|
||||
/// larghezza
|
||||
/// </summary>
|
||||
public string PageWidth { get; set; }
|
||||
/// <summary>
|
||||
/// margine Sx
|
||||
/// </summary>
|
||||
public string MarginLeft { get; set; }
|
||||
/// <summary>
|
||||
/// margine Dx
|
||||
/// </summary>
|
||||
public string MarginRight { get; set; }
|
||||
/// <summary>
|
||||
/// margine Top
|
||||
/// </summary>
|
||||
public string MarginTop { get; set; }
|
||||
/// <summary>
|
||||
/// margine Bottom
|
||||
/// </summary>
|
||||
public string MarginBottom { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the XML parameter.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The XML parameter.
|
||||
/// </value>
|
||||
public string xmlParam
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.Format("<DeviceInfo>" +
|
||||
" <OutputFormat>{0}</OutputFormat>" +
|
||||
" <PageWidth>{1}</PageWidth>" +
|
||||
" <PageHeight>{2}</PageHeight>" +
|
||||
" <MarginTop>{3}</MarginTop>" +
|
||||
" <MarginLeft>{4}</MarginLeft>" +
|
||||
" <MarginRight>{5}</MarginRight>" +
|
||||
" <MarginBottom>{6}</MarginBottom>" +
|
||||
"</DeviceInfo>", OutputFormat, PageWidth, PageHeight, MarginTop, MarginLeft, MarginRight, MarginBottom);
|
||||
}
|
||||
}
|
||||
OutputFormat = _OutputFormat;
|
||||
PageHeight = _PageHeight;
|
||||
PageWidth = _PageWidth;
|
||||
MarginLeft = _MarginLeft;
|
||||
MarginRight = _MarginRight;
|
||||
MarginTop = _MarginTop;
|
||||
MarginBottom = _MarginBottom;
|
||||
}
|
||||
/// <summary>
|
||||
/// formato output
|
||||
/// </summary>
|
||||
public string OutputFormat { get; set; }
|
||||
/// <summary>
|
||||
/// altezza
|
||||
/// </summary>
|
||||
public string PageHeight { get; set; }
|
||||
/// <summary>
|
||||
/// larghezza
|
||||
/// </summary>
|
||||
public string PageWidth { get; set; }
|
||||
/// <summary>
|
||||
/// margine Sx
|
||||
/// </summary>
|
||||
public string MarginLeft { get; set; }
|
||||
/// <summary>
|
||||
/// margine Dx
|
||||
/// </summary>
|
||||
public string MarginRight { get; set; }
|
||||
/// <summary>
|
||||
/// margine Top
|
||||
/// </summary>
|
||||
public string MarginTop { get; set; }
|
||||
/// <summary>
|
||||
/// margine Bottom
|
||||
/// </summary>
|
||||
public string MarginBottom { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the XML parameter.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The XML parameter.
|
||||
/// </value>
|
||||
public string xmlParam
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.Format("<DeviceInfo>" +
|
||||
" <OutputFormat>{0}</OutputFormat>" +
|
||||
" <PageWidth>{1}</PageWidth>" +
|
||||
" <PageHeight>{2}</PageHeight>" +
|
||||
" <MarginTop>{3}</MarginTop>" +
|
||||
" <MarginLeft>{4}</MarginLeft>" +
|
||||
" <MarginRight>{5}</MarginRight>" +
|
||||
" <MarginBottom>{6}</MarginBottom>" +
|
||||
"</DeviceInfo>", OutputFormat, PageWidth, PageHeight, MarginTop, MarginLeft, MarginRight, MarginBottom);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user