diff --git a/QuestPDF.ReportSample/Layouts/StandardReport.cs b/QuestPDF.ReportSample/Layouts/StandardReport.cs index 87adf0f..a02730c 100644 --- a/QuestPDF.ReportSample/Layouts/StandardReport.cs +++ b/QuestPDF.ReportSample/Layouts/StandardReport.cs @@ -55,7 +55,7 @@ namespace QuestPDF.ReportSample.Layouts row.Spacing(50); row.RelativeItem().PaddingTop(-10).Text(Model.Title).Style(Typography.Title); - row.ConstantItem(90).ExternalLink("https://www.questpdf.com").MaxHeight(30).Component(); + row.ConstantItem(90).Hyperlink("https://www.questpdf.com").MaxHeight(30).Component(); }); column.Item().ShowOnce().PaddingVertical(15).Border(1f).BorderColor(Colors.Grey.Lighten1).ExtendHorizontal(); @@ -88,14 +88,14 @@ namespace QuestPDF.ReportSample.Layouts column.Item().PageBreak(); foreach (var section in Model.Sections) - column.Item().Location(section.Title).Component(new SectionTemplate(section)); + column.Item().Section(section.Title).Component(new SectionTemplate(section)); column.Item().PageBreak(); - column.Item().Location("Photos"); + column.Item().Section("Photos"); foreach (var photo in Model.Photos) column.Item().Component(new PhotoTemplate(photo)); }); } } -} \ No newline at end of file +}