0
我想知道如何將新添加的矩形設置爲「不填充」與PowerPoint 2010互操作。如何設置「無填充」使用PowerPoint 2010 interop填充自定形
這是我現在所擁有的代碼...
PowerPoint.Presentation presentation = Globals.ThisAddIn.Application.ActivePresentation;
PowerPoint.Shape newshape = presentation.Slides[slideIndex].Shapes.AddShape(Office.MsoAutoShapeType.msoShapeRectangle, 72f, 72f, 72f, 72f);
newshape.Fill.Transparency = 1;