PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Wed Nov 05, 2025 7:35 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Dec 12, 2009 6:58 pm 
Offline

Joined: Sat Dec 12, 2009 6:47 pm
Posts: 7
Hi,

reading the documentation regarding PDFsharp, I have noticed that all unit references are for pixels. Now, having in mind that we are exporting for PDF: is there any way to relate lets say pixels to millimeters? I am not so interested in pixel precission - but exact metric precission in a high res PDF output...

Thanks in advance!


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 13, 2009 12:17 am 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 355
Hi!
monq wrote:
reading the documentation regarding PDFsharp, I have noticed that all unit references are for pixels.

Where did you read that?
All units are points, not pixels.
A point is 1/72 inch.
Use XUnit.FromMillimeter ...

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 13, 2009 1:48 pm 
Offline

Joined: Sat Dec 12, 2009 6:47 pm
Posts: 7
That's excellent news, and my mistake!

Regards,
David


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot] and 162 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group