none
How do I select Shape that I pasted into PowerPoint slide RRS feed

  • Question

  • Hi,

    I am using PowerPoint 2007  AddIn for pasting objects into PowerPoint slide. I am using this syntax:

    PowerPoint.View sel = Globals.ThisAddIn.Application.ActiveWindow.View ;

    sel.PasteSpecial(PowerPoint.PpPasteDataType.ppPasteEnhancedMetafile);

    Pasted metafile pictures are appearing in the middle of the slides and I need to modify their position on the slides. Question is: How do I select those pasted objects?

    Thanks


    Dragan Panjkov [http://www.dragan-panjkov.com]
    Tuesday, January 24, 2012 3:08 PM

Answers

  • After being pasted, the picture will be selected.

    You may be able to use:

    ActiveWindow.Selection

    as the reference to the object.

    Tuesday, January 24, 2012 3:17 PM

All replies

  • After being pasted, the picture will be selected.

    You may be able to use:

    ActiveWindow.Selection

    as the reference to the object.

    Tuesday, January 24, 2012 3:17 PM
  • So simple :)

    Thanks, William!


    Dragan Panjkov [http://www.dragan-panjkov.com]
    Tuesday, January 24, 2012 4:03 PM