32 lines
1.2 KiB
C#
32 lines
1.2 KiB
C#
using Consulenza.ReportWriter.Business;
|
|
using Consulenza.ReportWriter.Business.OBJ_PDF;
|
|
|
|
namespace Consulenza.ReportWriter.Manager.Chapter.Immobiliare.MappaturaPreliminare
|
|
{
|
|
public class S8 : Entity.Chapter
|
|
{
|
|
public S8(EnvironmentFacade environmentFacade, int idChapter)
|
|
: base(environmentFacade, idChapter)
|
|
{
|
|
Draw();
|
|
}
|
|
|
|
public S8(EnvironmentFacade environmentFacade, int idChapter, bool repeatoneachpage)
|
|
: this(environmentFacade, idChapter)
|
|
{
|
|
RepeatOnEachPage = repeatoneachpage;
|
|
}
|
|
|
|
|
|
protected override sealed void Draw()
|
|
{
|
|
// Aggiungo la pagina
|
|
AddElement(new PagePDF(PagePDF.PagePDFType.Generic));
|
|
|
|
// Aggiungo gli elementi
|
|
AddElement(new ImagePDF(EnvironmentFacade.RendererFacade.XLeftLimit, 0.20F, "DatiSintetici.png") { AutoIncrementYWritable = false });// Icona
|
|
AddElement(new FormattedTextAreaPDF("Mappatura strategica degli immobili", EnvironmentFacade.RendererFacade.XLeftLimit + 30) { FontSize = 16, FontColor = ColorPDF.Immobiliare_Grigio_TitoloGrande, AutoIncrementYWritable = false, FontBold = true }); // Intestazione
|
|
}
|
|
}
|
|
}
|