IRenderingOptions Interface

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

Namespace:  Aspose.Slides.Export
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: (22.1)
public interface IRenderingOptions : ISaveOptions

The IRenderingOptions type exposes the following members.

Public propertyAsISaveOptions
Returns ISaveOptions interface. Read-only ISaveOptions.
Public propertyCode exampleDefaultRegularFont
Returns or sets font used in case source font is not found. Read-write String.
(Inherited from ISaveOptions.)
Public propertyNotesCommentsLayouting
Provides options that control how notes and comments is placed in exported document.
Public propertyProgressCallback
Represents a callback object for saving progress updates in percentage. See IProgressCallback.
(Inherited from ISaveOptions.)
Public propertyWarningCallback
Returns or sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.
(Inherited from ISaveOptions.)
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);
See Also