diff --git a/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs index 6bb958b..1205938 100644 --- a/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs @@ -43,13 +43,16 @@ public class ScenarioSectionRenderer : IPdfSectionRenderer float w = page.GetClientSize().Width; float y = 0; - // ── Titolo centrato ──────────────────────────────────────────── - var titleFont = new PdfStandardFont(PdfFontFamily.Helvetica, 16f, PdfFontStyle.Bold); - g.DrawString("Analisi Scenario", titleFont, - new PdfSolidBrush(Color.FromArgb(255, 46, 80, 144)), - new RectangleF(0, y, w, 28), - new PdfStringFormat(PdfTextAlignment.Center)); - y += 40; + // ── Titolo ──────────────────────────────────────────────────── + g.DrawString("Analisi Scenario", PdfTheme.SectionTitleFont, + PdfTheme.AccentBlueBrush, + new RectangleF(0, y, w, 20f), + new PdfStringFormat(PdfTextAlignment.Left)); + y += 24f; + + // Linea separatrice blu + g.DrawLine(PdfTheme.AccentBluePen, 0, y, w, y); + y += 8f; var scenario = data.Scenario; if (scenario.Rows.Count == 0)