2017-01-13 20 views

回答

0

我觀察你的要求,並建議你請使用以下示例代碼嘗試使用Aspose.Slides for .NET 17.1.0。我能夠觀察旋轉對文字的影響。我希望這會有所幫助。如果有任何進一步的詢問,您也可以聯繫我們Aspose.Slides forums

using (Presentation presentation = new Presentation()) 
{ 
    // Accessing the slide 
    ISlide slide = presentation.Slides[0]; 

    // Adding SmartArt shape and nodes 
    var chevron = slide.Shapes.AddSmartArt(10, 10, 800, 60, SmartArtLayoutType.ClosedChevronProcess); 
    var node = chevron.AllNodes.AddNode(); 
    node.TextFrame.Text = "Some text"; 

    node.TextFrame.TextFrameFormat.RotationAngle = 90; 
    // Saving Presentation 
    presentation.Save(dataDir + "FillFormat_SmartArt_ShapeNode_out.pptx", SaveFormat.Pptx); 
} 

我使用Aspose作爲Developer evangelist。