PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Wed Nov 05, 2025 4:28 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  [ 2 posts ] 
Author Message
PostPosted: Tue Jun 05, 2012 6:52 am 
Offline

Joined: Tue Jun 05, 2012 6:26 am
Posts: 1
Hi,

I want to know there is exact formula or equation to change the inches or cm to point because I'm trying to create table of 7.5 inches include 4 col with different inches.
eg;
float[] colWidth = new float[] { ?f, ?f, ?f, ?f }
PdfPTable pdfTable = new PdfPTable(colWidth .Length);
pdfTable.SetWidthPercentage(colWidth , PageSize.A4);


How can I do this?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 05, 2012 7:57 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3136
Location: Cologne, Germany
Hi!

See here:
viewtopic.php?p=2643#p2643

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 199 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