We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding images in word Document in same Paragraph

Thread ID:

Created:

Updated:

Platform:

Replies:

77500 Nov 4,2008 11:22 AM UTC Nov 5,2008 12:32 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Rambabu Pusala
Asked On November 4, 2008 11:22 AM UTC

Hi All,

I am using Essential DocIO 4.4.0.51 for creating word documents Please provide the codes lines for adding the tow are more images in the same Paragraph.

Thanks in advance,
Rambabu


Administrator [Syncfusion]
Replied On November 5, 2008 12:32 PM UTC

Hi RamBabu,

Please use the following code snippet to append the images to the same paragraph.

IWordDocument document = new WordDocument();
IWSection sec =document.AddSection();
IWParagraph para= sec.AddParagraph();
Image img1 = Image.FromFile(@"../../Image.GIF");
Image img2 = Image.FromFile(@"../../google.png");
para.AppendPicture(img1);
para.AppendPicture(img2);
document.Save("sample.doc");

Please let me know if this helps.

Regards,
Dhivya.

>Hi All,

I am using Essential DocIO 4.4.0.51 for creating word documents Please provide the codes lines for adding the tow are more images in the same Paragraph.

Thanks in advance,
Rambabu




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;