using ceTe.DynamicPDF;
using Consulenza.ReportWriter.Business.Entity;
namespace Consulenza.ReportWriter.Business.OBJ_PDF
{
///
/// Rappresenta l'oggetto di reset della YWritable.
/// Se impostata la Y riporta la _ywritable = Y altrimenti di default riporta la _ywritable = _yupperlimit
///
public class ResetterYPDF : ObjectPDF
{
#region Fields
public PageElement BaseElement { get; set; }
///
/// Ottiene o imposta la Y su cui impostare la _ywritable.
///
public float Y { get; set; }
#endregion
#region Costruttori
///
/// Costruttore
///
public ResetterYPDF()
{
Y = 0;
ObjectType = ObjectTypePdf.RESETTER_Y;
}
///
/// Costruttore
///
/// Y su cui impostare la _ywritable
public ResetterYPDF(float y)
: this()
{
Y = y;
}
#endregion
#region Metodi
///
/// Ritorna l'oggetto che sarà stampato sulla pagina del documento.
///
///
public override PageElement ToElement()
{
return BaseElement;
}
#endregion
}
}