GetEffective
Background.GetEffective method
获取应用了继承的有效背景数据。
public IBackgroundEffectiveData GetEffective()
返回值
例子
此示例演示如何获取有效的背景属性。
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IBackgroundEffectiveData effectiveBackground = pres.Slides[0].Background.GetEffective();
Console.WriteLine("Background fill type: " + effectiveBackground.FillFormat.FillType);
Console.WriteLine("Any effects applied: " + !effectiveBackground.EffectFormat.IsNoEffects);
}
也可以看看
- interface IBackgroundEffectiveData
- class Background
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides