Html5Options class

Represents a HTML5 exporting options.

public class Html5Options : SaveOptions, IHtml5Options


Name Description
Html5Options() The default constructor.


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.
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.



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