API Reference

Class

HtmlRenderPage

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

One continuous or paged HTML render surface in CSS-pixel coordinates.

Inheritance

  • Object
  • HtmlRenderPage

Usage

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

Returned or exposed by

Methods

CreateDrawing 2 overloads
public OfficeDrawing CreateDrawing() #
Returns: OfficeDrawing

Creates a dependency-free drawing snapshot for PNG or SVG rendering.

public OfficeDrawing CreateDrawing(CancellationToken cancellationToken) #
Returns: OfficeDrawing

Creates a dependency-free drawing snapshot for PNG or SVG rendering with cooperative cancellation.

Parameters

cancellationToken System.Threading.CancellationToken requiredposition: 0

Properties

public Int32 PageNumber { get; } #

One-based page number.

public Double Width { get; } #

Page width in CSS pixels.

public Double Height { get; } #

Page height in CSS pixels.

public String PageName { get; } #

CSS named-page identifier selected for this page, or null for the generic page master.

public IReadOnlyList<HtmlRenderVisual> Visuals { get; } #

Ordered backend-neutral visuals on this page.

public IReadOnlyList<HtmlRenderVisual> Scene { get; } #

Ordered backend-neutral scene including paint-neutral semantic ownership groups.

public OfficeFontFaceCollection Fonts { get; } #

Independent snapshot of scoped font faces used by this page.