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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Table Height

Thread ID:

Created:

Updated:

Platform:

Replies:

53446 Dec 13,2006 08:16 PM UTC Dec 13,2006 08:44 PM UTC ASP.NET Web Forms (Classic) 1
loading
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.
MultiTable.zip


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

Regards,
Prakash.


CONFIRMATION

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.

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

;