IRenderingOptions
Contents
[
Hide
]IRenderingOptions interface
Provides options that control how a presentation/slide is rendered.
public interface IRenderingOptions : ISaveOptions
Properties
Name | Description |
---|---|
AsISaveOptions { get; } | Returns ISaveOptions interface. Read-only ISaveOptions . |
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 . |
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
- interface ISaveOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides