Welcome to OpenXML Developer Sign in | Join | Help

Add a picture into an Open XML Document using the SDK 2.0

Last post 10-13-2008, 8:38 AM by Pikouse. 2 replies.
Sort Posts: Previous Next
  •  10-09-2008, 8:51 AM 3774

    Add a picture into an Open XML Document using the SDK 2.0

    Hi.

    I'm looking for a simple sample (!) to add a picture (for example a jpg) between two lines of text in an OpenXML document using the OpenXLM SDK V2.0 in C#.

    I've found out how to add text line, how to add an imagepart, now to define a new style ... but I really don't know, for the moment, how to display a picture in my document.
    Do I have to 'link' an image from my imagepart to the document ?
    Do I need to add the picture directly into a paragraph ?

    Help is welcome now.
    Thank you

  •  10-10-2008, 7:14 AM 3780 in reply to 3774

    Re: Add a picture into an Open XML Document using the SDK 2.0

    Hi.. have a look at this thread : http://openxmldeveloper.org/forums/thread/3755.aspx

    It explains how to embed an image into a word document programatically.. Maybe it might help you get into the right direction..
  •  10-13-2008, 8:38 AM 3790 in reply to 3780

    Re: Add a picture into an Open XML Document using the SDK 2.0

    Ok, thank you for your answer and for your e-mail.
    I will look at this as soon as possible to understand each XML Tag.

     

View as RSS news feed in XML