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

Problems with calcualte exact Column Width
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2041
Page 1 of 1

Author:  moon [ Tue Jun 05, 2012 6:52 am ]
Post subject:  Problems with calcualte exact Column Width

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?

Author:  Thomas Hoevel [ Tue Jun 05, 2012 7:57 am ]
Post subject:  Re: Problems with calcualte exact Column Width

Hi!

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

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