L
lai
Hi,
I am writing automation code to create PowerPoint file. When I try to add a
textbox to PowerPoint, I found, in the version 2007, CShape.put_RTF()
function will not work. I have tried both VC and also C#. The error message
in VC is: 0x80004001 and the message in C# is:
System.NotImplementedException.
Is this because my code has problem or they really havnt implement the code?
Thanks
Best regards,
part of the code:
//Open powerpoint, get CSlide object and CShapes object...
CShape sTextBox( shapes.AddTextbox( Office::msoTextOrientationHorizontal,
100, 100, 100, 100);
sTextBox.put_RTF(_T("get problem in this line"));
I am writing automation code to create PowerPoint file. When I try to add a
textbox to PowerPoint, I found, in the version 2007, CShape.put_RTF()
function will not work. I have tried both VC and also C#. The error message
in VC is: 0x80004001 and the message in C# is:
System.NotImplementedException.
Is this because my code has problem or they really havnt implement the code?
Thanks
Best regards,
part of the code:
//Open powerpoint, get CSlide object and CShapes object...
CShape sTextBox( shapes.AddTextbox( Office::msoTextOrientationHorizontal,
100, 100, 100, 100);
sTextBox.put_RTF(_T("get problem in this line"));