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.
Unfortunately, activation email could not send to your email. Please try again.

Adding images in word Document in same Paragraph

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 07:32 AM

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.

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.

;