COmplex Report attach example

Hello friend I am using aspose for my pdf report ., can any one help me how to create attach report with aspose pdf

Hello shakti,

Thanks for considering Aspose.

Do you need to convert the XLS file into PDF format ? If so is the case, then you can try using Aspose.Cells and Aspose.Pdf to convert it into PDF format.

Aspose.Cells converts all the contents of the Excel worksheet into an intermediate XML file and then Aspose.Pdf converts the XML file into a PDF format. For related information please, Convert an XLS File to PDF Format

FYI, In recent versions of Aspose.Cells a new method of saving an excel worksheet directly into a PDF format has been introduced. For more related information, please visit Converting to PDF Files - .NET

In case it does not satisfy your requirement, please feel free to contact.

No sir
Thanks for your reply
I do not want to convrt excell into pdf , I want to create a table in this format, where I can display tire according to the database logic…

I am not getting how it done in the table, I am able to create two cell but how to draw a line in the middle]
I hope you got my question
Thanks

Hello shakti,

Sorry for replying you so late.

You can accomplish your requirement by using Nested Tables technique. Please visit the following link for required information on How to Create Nested Table.

And in order to add a line in a table cell, create a Graph object, Create a Line object and add it to Graph object and finally add the Graph object to table cell. In order to set the line as center aligned, set the vertical Alignment of the table cell as Center aligned.

[C#]

Graph graph1 = new Graph();
row2.Cells.Add().Paragraphs.Add(graph1);
float[] posArr = new float[] { leftend, lefttop, rightend, top };
Aspose.Pdf.Line line = new Aspose.Pdf.Line(graph1, posArr);
graph1.Shapes.Add(line);
row2.Cells[3].VerticalAlignment = VerticalAlignmentType.Center;

For more related information, please visit What is Graph? and also visit Line Class.