RenderingOptions Class

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

Namespace:  Aspose.Slides.Export
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: (21.2)
public class RenderingOptions : SaveOptions, 
	ISaveOptions, IRenderingOptions

The RenderingOptions type exposes the following members.

Public methodRenderingOptions
Default constructor.
Public propertyCode exampleDefaultRegularFont
Returns or sets font used in case source font is not found. Read-write String.
(Inherited from SaveOptions.)
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 SaveOptions.)
Public propertyWarningCallback
Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.
(Inherited from SaveOptions.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
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