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.

Publishing a Table in the Middle of a Page

Thread ID:

Created:

Updated:

Platform:

Replies:

27592 Apr 14,2005 01:28 PM Dec 15,2005 04:46 PM Windows Forms 6
loading
Tags: PDF
Sigmund Wu
Asked On April 14, 2005 01:28 PM

Hi, Here is a problem I encountered: When I try to publish a table in the middle of a page (instead of on top of a page), the table appears at the right location, BUT it always draws the top border to the top of the page. Any clue? Thanks. Here is my code: table.Style.BorderColors.All = Color.Black; table.Style.BordersWidth.All = 1; table.PageBreakBehaviour=AutoBreakBehaviour.None; //... // publish table 2" below the top of page table.Publish(new Point(0, 144), _page); // But the table top border extends all the way to top of page!

Administrator [Syncfusion]
Replied On April 19, 2005 11:25 AM

Hi Sigmud, Could you please let me know the version of Essential PDF that you are using?. I tested with version 3.2 beta but could not see the problem. Please clarify. Thanks, Stephen. >Hi, > >Here is a problem I encountered: When I try to publish a table in the middle of a page (instead of on top of a page), the table appears at the right location, BUT it always draws the top border to the top of the page. Any clue? Thanks. > >Here is my code: > >table.Style.BorderColors.All = Color.Black; >table.Style.BordersWidth.All = 1; >table.PageBreakBehaviour=AutoBreakBehaviour.None; >//... > >// publish table 2" below the top of page >table.Publish(new Point(0, 144), _page); >// But the table top border extends all the way to top of page!

Administrator [Syncfusion]
Replied On April 19, 2005 11:44 AM

Hi Sigmund, Please ignore my previous response. I can see the problem. We will fix it as soon as possible. Thanks, Stephen. >Hi Sigmud, > >Could you please let me know the version of Essential PDF that you are using?. I tested with version 3.2 beta but could not see the problem. Please clarify. > >Thanks, > >Stephen. > >>Hi, >> >>Here is a problem I encountered: When I try to publish a table in the middle of a page (instead of on top of a page), the table appears at the right location, BUT it always draws the top border to the top of the page. Any clue? Thanks. >> >>Here is my code: >> >>table.Style.BorderColors.All = Color.Black; >>table.Style.BordersWidth.All = 1; >>table.PageBreakBehaviour=AutoBreakBehaviour.None; >>//... >> >>// publish table 2" below the top of page >>table.Publish(new Point(0, 144), _page); >>// But the table top border extends all the way to top of page!

Administrator [Syncfusion]
Replied On December 14, 2005 03:19 PM

Hi, I am running a 3.3.0 version and I am having the same problem. I have a text placed correctly on the document, but then I have a table to publish in the middle of the page and all I get is a border line at the top of the page. Also, for some reason, number of pages goes up to 10. BY the way, a text that follows the table is positioned correctly on the page #10. Any insight?.. Thanks.

Administrator [Syncfusion]
Replied On December 14, 2005 05:21 PM

Hi there, I am wandering if anyone from Syncfusion ever visits Essential PDF board. I posted several questions in the last 24 hours with no reply... Anyway, with regards to my previous post, after some investigation, I have noticed that if I remove a header from the document, my table gets back to where it should be (middle of the page). Hope this will help you guys to give me an explanation why is this happening and what I got to do to rectify this problem in my project. Another issue that I am having, is that changing value to ITable.Header[0].Height property has no effect on a table?!...The same problem is with rows - it all the same height and no effect when I change the value with tbl.Rows[i].Height=; property. Could someone please help me with this?.... Thanks. >Hi, >I am running a 3.3.0 version and I am having the same problem. >I have a text placed correctly on the document, but then I have a table to publish in the middle of the page and all I get is a border line at the top of the page. Also, for some reason, number of pages goes up to 10. BY the way, a text that follows the table is positioned correctly on the page #10. >Any insight?.. >Thanks.

Administrator [Syncfusion]
Replied On December 15, 2005 12:31 PM

Hi Igor, Sorry for the delay in getting back to you. I will look into this issue and post an update soon. Thanks, Stephen.

Administrator [Syncfusion]
Replied On December 15, 2005 04:46 PM

Hi Igor, I tested both the mentioned issues in version 4.1 and they seem to have been fixed. Here is the test sample used TableInMiddleOfPage.zip Please download version 4.1 from here http://syncfusion.com/Support/forums/message.aspx?MessageID=38226 Thanks, Stephen.

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.

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.

;