RenderingOptions
RenderingOptions class
提供控制演示文稿/幻灯片呈现方式的选项。
public class RenderingOptions : SaveOptions, IRenderingOptions
构造函数
特性
例子
[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
IRenderingOptions renderingOpts = new RenderingOptions();
renderingOpts.NotesCommentsLayouting.NotesPosition = NotesPositions.BottomTruncated;
pres.Slides[0].GetThumbnail(renderingOpts).Save("pres-Original.png", ImageFormat.Png);
renderingOpts.DefaultRegularFont = "Arial Black";
pres.Slides[0].GetThumbnail(renderingOpts).Save("pres-ArialBlackDefault.png", ImageFormat.Png);
renderingOpts.DefaultRegularFont = "Arial Narrow";
pres.Slides[0].GetThumbnail(renderingOpts).Save("pres-ArialNarrowDefault.png", ImageFormat.Png);
}
也可以看看