Drawing Table in line 750

Hello, I got an exception trying to draw a table in line 750 (the code works fine for line 0). I used the example you sent me and changed it, and got the exception as well: PointF tableLocation = new PointF(50, 750); table.Publish(tableLocation,pdfDoc.LastPage); Thanks Liat

3 Replies

AD Administrator Syncfusion Team June 28, 2006 09:02 PM UTC

Hi Liat, When you try to public table at (50,750). The ArgumentException is thrown only because there is no space for atleast a row to fit in that page. So Please please check to that you have atleast some space for a table row in that page. Please let me know if you have any questions. Thanks, Ajish.


LI Liat July 11, 2006 06:49 AM UTC

Hi Ajish If the row AutoHeight is true - than i couldn''t find a way to check if there is anough space for the title of the table and one row. I tried to catch the exception thrown and draw the table in the next page, but i discovered that one row of the table is drawn dispite the exception - can you fix it so that there is a rollback when exception is thrown - and the page will stay "clean"? Thanks Liat >Hi Liat, > >When you try to public table at (50,750). The ArgumentException is thrown only because there is no space for atleast a row to fit in that page. So Please please check to that you have atleast some space for a table row in that page. > >Please let me know if you have any questions. > >Thanks, >Ajish.


LI Liat August 13, 2006 06:18 AM UTC

Hi
Do you have any response for this issue?

Thanks
Liat

>Hi Ajish
>If the row AutoHeight is true - than i couldn''t find a way to check if there is anough space for the title of the table and one row.
>I tried to catch the exception thrown and draw the table in the next page, but i discovered that one row of the table is drawn dispite the exception - can you fix it so that there is a rollback when exception is thrown - and the page will stay "clean"?
>
>Thanks
>Liat
>
>
>>Hi Liat,
>>
>>When you try to public table at (50,750). The ArgumentException is thrown only because there is no space for atleast a row to fit in that page. So Please please check to that you have atleast some space for a table row in that page.
>>
>>Please let me know if you have any questions.
>>
>>Thanks,
>>Ajish.

Loader.
Up arrow icon