File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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} ") ;
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments