IRenderingOptions

IRenderingOptions interface

Provides options that control how a presentation/slide is rendered.

public interface IRenderingOptions : ISaveOptions

Properties

NameDescription
AsISaveOptions { get; }Returns ISaveOptions interface. Read-only ISaveOptions.
InkOptions { get; }Provides options that control the look of Ink objects in exported document. Read-only IInkOptions
SlidesLayoutOptions { get; set; }Gets or sets the mode in which slides are placed on the page when exporting a presentation ISlidesLayoutOptions.

Examples

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
  IRenderingOptions renderingOpts = new RenderingOptions();
  renderingOpts.SlidesLayoutOptions = new NotesCommentsLayoutingOptions { 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);
}

See Also