Html5Options
Contents
[
Hide
]Html5Options class
Represents a HTML5 exporting options.
public class Html5Options : SaveOptions, IHtml5Options
Constructors
Name | Description |
---|---|
Html5Options() | Default constructor. |
Properties
Name | Description |
---|---|
AnimateShapes { get; set; } | Returns or sets shapes animation option. Read/write Boolean. |
AnimateTransitions { get; set; } | Returns or sets transitions animation option. Read/write Boolean. |
DefaultRegularFont { get; set; } | Returns or sets font used in case source font is not found. Read-write String. |
EmbedImages { get; set; } | Returns or sets images embedding option. Read/write Boolean. |
GradientStyle { get; set; } | Returns or sets the visual style of the gradient. Read/write GradientStyle . |
NotesCommentsLayouting { get; set; } | Provides options that control how notes and comments is placed in exported document. Read/write INotesCommentsLayoutingOptions . |
OutputPath { get; set; } | Determines where external resources should be stored. Read/write String. |
ProgressCallback { get; set; } | Represents a callback object for saving progress updates in percentage. See IProgressCallback . |
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
Example:
[C#]
using (Presentation pres = new Presentation("demo.pptx"))
{
pres.Save("demo-animate-shapes-and-transitions.html", SaveFormat.Html5, new Html5Options()
{
AnimateShapes = true,
AnimateTransitions = true
});
}
See Also
- class SaveOptions
- interface IHtml5Options
- namespace Aspose.Slides.Export
- assembly Aspose.Slides