Hello,
I added two images(they are the same images of a horizontal line) into the same table cell, but they do not look the same once loaded in the PDF. Can you please show me how to fix it? Below is my code and I have attached a screenshot of how it looks in a PDF to show what I am referring to.
//====================row double underline===========================================
Aspose.Pdf.Image image2 = new Aspose.Pdf.Image(sec1);
Aspose.Pdf.Image image3 = new Aspose.Pdf.Image(sec1);
Row TableTotalCostRowUnderlineDouble = TableTotalCost.Rows.Add();
Cell TableTotalCostRowUnderlineDoubleC1 = TableTotalCostRowUnderlineDouble.Cells.Add();
TableTotalCostRowUnderlineDoubleC1.Paragraphs.Add(image2);
string s = "
";
Text t1 = new Text(s);
t1.IsHtmlTagSupported = true;
TableTotalCostRowUnderlineDoubleC1.Paragraphs.Add(t1);
TableTotalCostRowUnderlineDoubleC1.Paragraphs.Add(image3);
TableTotalCostRowUnderlineDoubleC1.ColumnsSpan = 3;
image2.ImageInfo.File = Server.MapPath("~/Images/underline.gif");
image2.ImageInfo.ImageFileType = ImageFileType.Gif;
image3.ImageInfo.File = Server.MapPath("~/Images/underline.gif");
image3.ImageInfo.ImageFileType = ImageFileType.Gif;
Thanks in advance for your help.