Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlRenderArchiveResult

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Completed deterministic HTML page archive and its typed manifest.

Inheritance

  • Object
  • HtmlRenderArchiveResult

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public HtmlRenderArchiveResult Save(Stream stream) #
Returns: HtmlRenderArchiveResult

Writes the ZIP payload to a caller-owned stream without closing it.

Parameters

stream System.IO.Stream requiredposition: 0
public async Task<HtmlRenderArchiveResult> SaveAsync(Stream stream, CancellationToken cancellationToken = default) #
Returns: Task<HtmlRenderArchiveResult>

Writes the ZIP payload asynchronously without closing the caller-owned stream.

Parameters

stream System.IO.Stream requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1

Properties

public HtmlRenderArchiveManifest Manifest { get; } #

Typed manifest embedded as manifest.json.

public Int64 EncodedLength { get; } #

Exact ZIP byte count without copying the payload.

public Byte[] Bytes { get; } #

Detached copy of the ZIP bytes.