Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PowerPointHtmlConverterExtensions

Namespace OfficeIMO.PowerPoint.Html
Assembly OfficeIMO.PowerPoint.Html
Modifiers static

Extension methods enabling HTML conversions for OfficeIMO PowerPoint presentations.

Inheritance

  • Object
  • PowerPointHtmlConverterExtensions

Methods

SaveAsHtml 2 overloads
public static Void SaveAsHtml(PowerPointPresentation presentation, String path, PowerPointHtmlSaveOptions options = null) #
Returns: Void

Saves a presentation as HTML.

Parameters

arg1 OfficeIMO.PowerPoint.PowerPointPresentation requiredposition: 0
arg2 System.String requiredposition: 1
arg3 OfficeIMO.PowerPoint.Html.PowerPointHtmlSaveOptions = null optionalposition: 2
public static Void SaveAsHtml(PowerPointPresentation presentation, Stream stream, PowerPointHtmlSaveOptions options = null) #
Returns: Void

Writes a presentation as UTF-8 HTML to a stream and leaves it open.

Parameters

arg1 OfficeIMO.PowerPoint.PowerPointPresentation requiredposition: 0
arg2 System.IO.Stream requiredposition: 1
arg3 OfficeIMO.PowerPoint.Html.PowerPointHtmlSaveOptions = null optionalposition: 2
SaveAsHtmlAsync 2 overloads
public static async Task SaveAsHtmlAsync(PowerPointPresentation presentation, String path, PowerPointHtmlSaveOptions options = null, CancellationToken cancellationToken = default) #
Returns: Task

Asynchronously writes a presentation as UTF-8 HTML.

Parameters

arg1 OfficeIMO.PowerPoint.PowerPointPresentation requiredposition: 0
arg2 System.String requiredposition: 1
arg3 OfficeIMO.PowerPoint.Html.PowerPointHtmlSaveOptions = null optionalposition: 2
arg4 System.Threading.CancellationToken = default optionalposition: 3
public static async Task SaveAsHtmlAsync(PowerPointPresentation presentation, Stream stream, PowerPointHtmlSaveOptions options = null, CancellationToken cancellationToken = default) #
Returns: Task

Asynchronously writes a presentation as UTF-8 HTML to a stream and leaves it open.

Parameters

arg1 OfficeIMO.PowerPoint.PowerPointPresentation requiredposition: 0
arg2 System.IO.Stream requiredposition: 1
arg3 OfficeIMO.PowerPoint.Html.PowerPointHtmlSaveOptions = null optionalposition: 2
arg4 System.Threading.CancellationToken = default optionalposition: 3
public static String ToHtml(PowerPointPresentation presentation, PowerPointHtmlSaveOptions options = null) #
Returns: String

Converts a presentation to HTML.

Parameters

presentation OfficeIMO.PowerPoint.PowerPointPresentation requiredposition: 0
options OfficeIMO.PowerPoint.Html.PowerPointHtmlSaveOptions = null optionalposition: 1
public static PowerPointToHtmlResult ToHtmlResult(PowerPointPresentation presentation, PowerPointHtmlSaveOptions options = null) #
Returns: PowerPointToHtmlResult

Converts a presentation to HTML with operation-scoped visual diagnostics.

Parameters

presentation OfficeIMO.PowerPoint.PowerPointPresentation requiredposition: 0
options OfficeIMO.PowerPoint.Html.PowerPointHtmlSaveOptions = null optionalposition: 1