Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlRenderSurfaceResult

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

One output surface retained by a resolved HTML render request.

Inheritance

  • Object
  • HtmlRenderSurfaceResult

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

TryMapToSource 2 overloads
public Boolean TryMapToSource(HtmlRenderPoint outputPoint, out HtmlRenderSourcePoint sourcePoint) #
Returns: Boolean

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

Parameters

outputPoint OfficeIMO.Html.HtmlRenderPoint requiredposition: 0
sourcePoint OfficeIMO.Html.HtmlRenderSourcePoint@ requiredposition: 1
public Boolean TryMapToSource(Double outputX, Double outputY, out HtmlRenderSourcePoint sourcePoint) #
Returns: Boolean

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

Parameters

outputX System.Double requiredposition: 0
outputY System.Double requiredposition: 1
sourcePoint OfficeIMO.Html.HtmlRenderSourcePoint@ requiredposition: 2

Properties

public Int32 OutputIndex { get; } #

Zero-based position in the resolved output set.

public Int32 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 Boolean 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.