I need to insert a picture inside a table cell but i can't ajust the size of the cell so the image is places the whole cell. There is a new line above the picture. The code is here:
DocX aDoc = DocX.Load("PathToDocument.docx");
Image img = aDoc.AddImage(pathToImage.jpg));
Picture pic = iso.CreatePicture();
Paragraph p = aDoc.Tables.Rows.Cells1].InsertParagraph(); p.InsertPicture(pic1);
Does anyone knows how to fix this?