Skip to content

Commit 107726d

Browse files
committed
Updated to 2022.12.1
1 parent d0ff52a commit 107726d

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

InvoiceDocument.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ void ComposeHeader(IContainer container)
4040
{
4141
container.Row(row =>
4242
{
43-
row.RelativeItem().Column(Column =>
43+
row.RelativeItem().Column(column =>
4444
{
45-
Column
45+
column
4646
.Item().Text($"Invoice #{Model.InvoiceNumber}")
4747
.FontSize(20).SemiBold().FontColor(Colors.Blue.Medium);
4848

49-
Column.Item().Text(text =>
49+
column.Item().Text(text =>
5050
{
5151
text.Span("Issue date: ").SemiBold();
5252
text.Span($"{Model.IssueDate:d}");
5353
});
5454

55-
Column.Item().Text(text =>
55+
column.Item().Text(text =>
5656
{
5757
text.Span("Due date: ").SemiBold();
5858
text.Span($"{Model.DueDate:d}");

Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ static void Main(string[] args)
1919
var document = new InvoiceDocument(model);
2020

2121
// Generate PDF file and show it in the default viewer
22-
//GenerateDocumentAndShow(document);
22+
GenerateDocumentAndShow(document);
2323

2424
// Or open the QuestPDF Previewer and experiment with the document's design
2525
// in real-time without recompilation after each code change
26-
document.ShowInPreviewer();
26+
//document.ShowInPreviewer();
2727
}
2828

2929
static void GenerateDocumentAndShow(InvoiceDocument document)

QuestPDF.ExampleInvoice.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="QuestPDF" Version="2022.12.0" />
10+
<PackageReference Include="QuestPDF" Version="2022.12.1" />
1111
</ItemGroup>
1212

1313
</Project>

0 commit comments

Comments
 (0)