J
jtencate
I am developing an add-in for powerpoint in C# and as part of its
functionality it needs to be able to grab the background of the slide as an
image. To do this I remove the shapes on the slide by using:
Slides.Shapes.Range(null).Cut();
I then export the slide to an image then add the shapes back in using:
Slides.Shapes.Paste();
Everything works fine until I have shapes of type msoInkComment. If that
type exists in the ShapeRange I get the error:
'The method or operation is not implemented'
I also get this error if I try to copy a ShapeRange that contains
msoInkComments. I am guessing that this means that the msoInkComment type
does not implement 'Cut' and 'Copy'.
The question I have is: A) Am I doing the removal of shapes wrong or, B) is
there another way to get the background out of a slide seperately.
Thanks for any help!
-John
functionality it needs to be able to grab the background of the slide as an
image. To do this I remove the shapes on the slide by using:
Slides.Shapes.Range(null).Cut();
I then export the slide to an image then add the shapes back in using:
Slides.Shapes.Paste();
Everything works fine until I have shapes of type msoInkComment. If that
type exists in the ShapeRange I get the error:
'The method or operation is not implemented'
I also get this error if I try to copy a ShapeRange that contains
msoInkComments. I am guessing that this means that the msoInkComment type
does not implement 'Cut' and 'Copy'.
The question I have is: A) Am I doing the removal of shapes wrong or, B) is
there another way to get the background out of a slide seperately.
Thanks for any help!
-John