Skip to content

Commit 363175d

Browse files
committed
Changed default approach to generate-and-show
1 parent bdb9302 commit 363175d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)

0 commit comments

Comments
 (0)