We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Table Height

Thread ID:





53446 Dec 13,2006 08:16 PM UTC Dec 13,2006 08:44 PM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Administrator [Syncfusion]
Asked On December 13, 2006 08:16 PM UTC

How can I get IPDFTable's height?

I have IPDFTable, created from PDFDocument.
I gave it DataSource (DataTable) and some Style.
But I want to create 3-5 tables on one page, which have different DataSources.
I Publish those tables with interval=20.
PageBreakBehavior = AutoBreakBehavior.FullBreak; - in all tables.

But, I'll get something like this: some distances are too small, and other-too huge!
Cuz, when row is breaked, the row height became = 1rowHeight*xx!
How can I obtain true rowHeight or xx? or Full table height, what'll be perfect?

I need Your answer as soon as it possible!(

PS: Sorry for my bad English :)

Administrator [Syncfusion]
Replied On December 13, 2006 08:44 PM UTC

Hi Alex,

It is possible to get the full table height. When a table is published on the document it will return its won height and width size, then we can get those values by storing it to variable.
Could you please refer the following line.

Code Snippet [C#]
SizeF tableOne = table.Publish(tableLocation,pdfDoc.LastPage);

Here is the sample for your reference.

Please take a look at this and let me know if you have any other queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon