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.0.0 (21.2)
Syntax
public class RenderingOptions : SaveOptions, 
	ISaveOptions, IRenderingOptions

The RenderingOptions type exposes the following members.

Constructors
  NameDescription
Public methodRenderingOptions
Default constructor.
Properties
  NameDescription
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.)
Methods
  NameDescription
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.)
Examples
[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);
}
See Also