PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Make a pdf file after page setup or print preview called?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2691
Page 1 of 1

Author:  gOzaru [ Sat Dec 21, 2013 11:30 am ]
Post subject:  Make a pdf file after page setup or print preview called?

Hi guys.
I want to save my database data as pdf file but it depends on page setup and print preview.
I mean page setup defines what kind of paper it would use right.
I use Print preview to count all data displayed on 1 page before getting printed.
Example I have 20 pages and set up on paper: A3 standard.
I call a module to save as pdf file.
Which data should I pass to module?
1. paper size and margin
2. record from database
I know that pdfSharp use point not pixel, so could someone at least guide me what code should I write in module?
As you know I have to put the pdf into 20 pages exactly the same with print preview.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/