Presentation presentation = new Presentation();
presentation.LoadFromFile("test.pptx");
ISlide slide = presentation.Slides[0];
IAutoShape shape = (IAutoShape)slide.Shapes[0];
ITextFrameProperties textFrame = shape.TextFrame;
// 艺术字文本
string text = textFrame.TextRange.Text;
// 字号
float fontHeight = textFrame.TextRange.FontHeight;
// 填充类型
Spire.Presentation.Drawing.FillFormatType fillType = textFrame.TextRange.Fill.FillType;
// 填充颜色
System.Drawing.Color color = textFrame.TextRange.DisplayFill.SolidColor.Color;
// 是否加粗
TriState isBold = textFrame.TextRange.IsBold;
// 是否倾斜
TriState isItalic = textFrame.TextRange.IsItalic;