using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamWare.Reports
{
///
/// classe gestione parametri device per stampa
///
public class devInfoParam
{
///
/// Init classe dummy
///
public 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);
}
}
}
}