How to set an Image to the bottom of my cell, not at the beginnign of my cell

 IWTable tableExample = section.ExamplesFooters.Example.AddTable();

 formatExample.Borders.BorderType = BorderStyle.None;
 tableExample.ResetCells(1, 1, formatExample, 265);

                   
 Example = tableExample[0, 0].AddParagraph() as WParagraph;
 Example.AppendPicture(Image.FromFile(Path.Combine(path, "st_logo.png")));
 
 (Example.Items[0] as WPicture).Width = 232.5f;
 (Example.Items[0] as WPicture).Height = 54.75f;

 tableExample.TableFormat.HorizontalAlignment = RowAlignment.Center;

2 Replies

SY Sethumanikkam Yogendran Syncfusion Team October 13, 2016 08:08 AM UTC

Hi Customer,

Thank you for contacting Syncfusion support.

We have prepared a sample to meet your requirement. Please find the sample from below link and let us know if it helps you.
http://www.syncfusion.com/downloads/support/forum/126384/ze/DocIOApplication-3373786.zip

Please refer the below link to know more about how to work with tables using DocIO.
https://help.syncfusion.com/file-formats/docio/working-with-tables

Kindly let us know if you have any other question.

Thanks,
Sethumanikkam.Y



NT New Tester October 14, 2016 05:17 AM UTC

works, thank you.

Loader.
Up arrow icon