33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using Consulenza.ReportWriter.Business;
|
|
using Consulenza.ReportWriter.Business.OBJ_PDF;
|
|
|
|
namespace Consulenza.ReportWriter.Manager.Chapter.Immobiliare.MappaturaPreliminare
|
|
{
|
|
public class S6 : Entity.Chapter
|
|
{
|
|
public S6(EnvironmentFacade environmentFacade, int idChapter)
|
|
: base(environmentFacade, idChapter)
|
|
{
|
|
Draw();
|
|
}
|
|
|
|
public S6(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));
|
|
|
|
// Intestazione
|
|
var intestazione = new FormattedTextAreaPDF("Glossario", EnvironmentFacade.RendererFacade.XLeftLimit) { FontSize = 16, FontColor = ColorPDF.Immobiliare_Grigio_TitoloGrande, AutoIncrementYWritable = true, FontBold = true };
|
|
|
|
// Aggiungo gli elementi
|
|
AddElement(intestazione);
|
|
}
|
|
}
|
|
}
|