Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlRenderSurfaceResult

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
3b680b1b6fb1 with working tree changes
Modifiers
sealed

One output surface retained by a resolved HTML render request.

Inheritance

  • object
  • HtmlRenderSurfaceResult

Usage

Explore 2 API references to this type

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

Returned or exposed by 2

Methods

TryMapToSource 2 overloads
public bool TryMapToSource(HtmlRenderPoint outputPoint, out HtmlRenderSourcePoint? sourcePoint) #

Maps an output point to the contributing source page or canvas slice.

Parameters

outputPoint OfficeIMO.Html.HtmlRenderPoint required
sourcePoint OfficeIMO.Html.HtmlRenderSourcePoint? required

Returns

bool
public bool TryMapToSource(double outputX, double outputY, out HtmlRenderSourcePoint? sourcePoint) #

Maps finite output coordinates to the contributing source page or canvas slice.

Parameters

outputX double required
outputY double required
sourcePoint OfficeIMO.Html.HtmlRenderSourcePoint? required

Returns

bool

Properties

public int OutputIndex { get; } #

Zero-based position in the resolved output set.

public int SourcePageNumber { get; } #

One-based page number in the preselection render.

public double Width { get; } #

Surface width in CSS pixels.

public double Height { get; } #

Surface height in CSS pixels.

public double SourceOffsetX { get; } #

Horizontal offset into the original completed layout.

public double SourceOffsetY { get; } #

Vertical offset into the original completed layout.

public bool IsClipped { get; } #

Whether this surface clips a viewport, page slice, or stitched source page.

public IReadOnlyList<HtmlRenderSourcePlacement> SourcePlacements { get; } #

Every source page or slice contributing to this output surface.

public HtmlRenderRectangle Bounds { get; } #

Complete output-surface rectangle.