Image getting cut into multiple pdf pages while using Nested Tables

Hi Team,


My Issue :- Image getting cut into multiple pdf pages while using Nested Tables

My Scenario :-
I have 3 tables nested one on top of another, for readability I name it as Green, Blue and Black.

  • Blue Table consists of two rows. The first row contains Green Table and the second row contains an Aspose Image.
  • Green Table is placed in the first row of Blue Table.
  • The Outer Black table consists of a list of Blue Tables.

When the Blue table overflows the pdf page , the image in the second row of the blue table is getting cut. Kindly give me a solution.I have attached the MOM which I had with Aspose, The code snippet which you have requested to replicate the issue, the image used in the code and also the screenshots of the pdf which provides the issue clearly.


MOM with Aspose Live Support :-

codewarior> Hello! My name is
Nayyer, how may I help you today?


santhosh> hi this is santhosh

santhosh> i have a table which consists of two
rows, the first row contains a table and the sacond row contains an image.
similarly i have many tables. i place all these table within one table and
place that single table in the pdf . when i do this the image row gets cut into
pages. how to get the output without breaking


santhosh> half the image is not displayed , the
other half appears at the next pdf page


codewarior> well… we need to test this scenario
at our end.


codewarior> so can you please share the code
snippet…


codewarior> please post the query containing
code… here


codewarior> http://www.aspose.com/community/forums/aspose.pdf-product-family/20/showforum.aspx

santhosh> it is a bit complex code … contains
arounf 5 - 6 .cs files


santhosh> how shall i send it to you

codewarior> can you please share some simplified
version of this code, that we can easily test


codewarior> else, we need to replicate the
scenario at our end…


codewarior> I am not sure about the time it will
take to replicate this issue.


codewarior> but if you could please share some
simplified version, it would really be helpful


santhosh> ok … whom should isend the files … i
vl simplify and send you


santhosh> r u there?

codewarior> please post the query over forum.

codewarior> along with code attachment.

codewarior> it would be great, if you could share
the problem background…


Regards,
Santhosh

Hello Santhosh,

Thanks for using our products and sharing the resource files.

I have tested the scenario using Aspose.Pdf for .NET 4.6.0 and I am unable to notice the problem. Please take a look over the resultant PDF that I have generated. In case you the problem still persist, please feel free to contact. We apologize for your inconvenience.

Hi Nayeer,

Did you use the same code which I have attached. Did you make any other changes to it. I am using Aspose.Pdf version 4.1.1. The problem still persists in my case. Can you give me a solution using Aspose.Pdf 4.1.1. It will be of great help.

Thanks & Regards,
Santhosh

Hello Santhosh,

I have used the same code snippet as shared in your earlier post. I have tested the scenario using Aspose.Pdf for .NET 4.6.0 which can be downloaded from here. Please try using the latest release version and in case you encounter any problem, please feel free to contact.

We apologize for your inconvenience.