W
william
I am trying to convert ppt to a xml file, which means that I will also
extract the different shapes in the ppt file. What I am using is VS.Net2005
plus office 2003 interop assembly. The problem is that when I try to extract
the animated gif from the ppt file, the extracted gif image file is not
animated. And also how can I retrieve the original image's width and height,
so when I extract the image I can use these values.
Here is my current C# code:
int pixWidth = activeWindow.PointsToScreenPixelsX(shape.Width);
int pixHeight = activeWindow.PointsToScreenPixelsY(shape.Height);
shape.Export(fullFileName, PowerPoint.PpShapeFormat.ppShapeFormatGIF,
pixWidth, pixHeight, PowerPoint.PpExportMode.ppScaleToFit);
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/com...736e&dg=microsoft.public.office.developer.vba
extract the different shapes in the ppt file. What I am using is VS.Net2005
plus office 2003 interop assembly. The problem is that when I try to extract
the animated gif from the ppt file, the extracted gif image file is not
animated. And also how can I retrieve the original image's width and height,
so when I extract the image I can use these values.
Here is my current C# code:
int pixWidth = activeWindow.PointsToScreenPixelsX(shape.Width);
int pixHeight = activeWindow.PointsToScreenPixelsY(shape.Height);
shape.Export(fullFileName, PowerPoint.PpShapeFormat.ppShapeFormatGIF,
pixWidth, pixHeight, PowerPoint.PpExportMode.ppScaleToFit);
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/com...736e&dg=microsoft.public.office.developer.vba