Wie drehen SmartArtNode
Text aspose.slidewie SmartArtNode Text aspose.slide
ich drehen:
tmNode.TextFrame.TextFrameFormat.RotationAngle = 90
Aber es funktioniert nicht
Wie drehen SmartArtNode
Text aspose.slidewie SmartArtNode Text aspose.slide
ich drehen:
tmNode.TextFrame.TextFrameFormat.RotationAngle = 90
Aber es funktioniert nicht
Ich habe beobachtet, Ihre Anforderungen und schlagen Sie Versuchen Sie bitte, Aspose.Slides for.NET 17.1.0 mit folgendem Beispielcode zu verwenden. Ich kann den Rotationseffekt auf Text beobachten. Ich hoffe, das wird hilfreich sein. Sie können uns auch in Aspose.Slides forums kontaktieren, wenn es weitere Anfrage gibt.
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);
}
Ich arbeite mit Aspose als Entwickler Evangelist.