Html5Options

Html5Options class

Represents a HTML5 exporting options.

public class Html5Options : SaveOptions, IHtml5Options

Constructors

NameDescription
Html5Options()Default constructor.

Properties

NameDescription
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.
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.
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.
SkipJavaScriptLinks { get; set; }Specifies whether to skip hyperlinks with JavaScript calls when saving the presentation. Read/write Boolean. The default value is false.
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