RenderingOptions
Contents
[
Hide
]RenderingOptions class
Provides options that control how a presentation/slide is rendered.
public class RenderingOptions : SaveOptions, IRenderingOptions
Constructors
Name | Description |
---|---|
RenderingOptions() | Default constructor. |
Properties
Name | Description |
---|---|
DefaultRegularFont { get; set; } | Returns or sets font used in case source font is not found. Read-write String. |
DisableFontLigatures { get; set; } | Gets or sets a value indicating whether text is rendered without using ligatures. When set to true , ligatures will be disabled in the rendered output. By default, this property is set to false . |
GradientStyle { get; set; } | Returns or sets the visual style of the gradient. Read/write GradientStyle . |
InkOptions { get; } | Provides options that control the look of Ink objects in exported document. Read-only IInkOptions |
ProgressCallback { get; set; } | Represents a callback object for saving progress updates in percentage. See IProgressCallback . |
SlidesLayoutOptions { get; set; } | Gets or sets the mode in which slides are placed on the page when exporting a presentation ISlidesLayoutOptions . |
WarningCallback { get; set; } | Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback . |
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
- class SaveOptions
- interface IRenderingOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides