Welcome to OpenXML Developer Sign in | Join | Help

How to create the image icon of an embeded object progrmatically ?

Last post 07-01-2008, 12:23 AM by Sheela E N. 1 replies.
Sort Posts: Previous Next
  •  06-02-2008, 6:37 AM 3283

    How to create the image icon of an embeded object progrmatically ?

    Please let me know how i can embed an Excel sheet as a Excel object and also how to create corresponding icon for the same progrmatically.

    This is what i have done manually and want to achive the same progrmatically.The main challenge i see id the icon creation for a particular embeded object

       1.Open the Docx file

       2.Select the 'Insert' tab from the file menu

       3.Select 'Object > Object ' option this will open the Object window

       4.Select 'Create from File' tab and browse and select some Excel file

       5.Please check the 'Display as Icon ' option in the Tab and press OK.

    this will create a docx with an Excel file embded and displayed as icon.

     

    I want to achive the same thig(Embed an Excel in to a Docx and show the corresponding icon).My challenge is to create the icon in the runtime corresponding to the File name and embed in to Doc.

    Any help in this reard would be appreciated.

     

       

  •  07-01-2008, 12:23 AM 3433 in reply to 3283

    Re: How to create the image icon of an embeded object progrmatically ?

    hi,

    There will be some tools available to generate images/icon for a specified document(say excel)

    Sheela

View as RSS news feed in XML