HtmlRenderSurfaceResult
OfficeIMO.Html
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
- Property HtmlRenderResult.Surfaces
- Property HtmlRenderSurface.Descriptor
Methods
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
- sourcePoint OfficeIMO.Html.HtmlRenderSourcePoint?
Returns
boolpublic bool TryMapToSource(double outputX, double outputY, out HtmlRenderSourcePoint? sourcePoint) #Maps finite output coordinates to the contributing source page or canvas slice.
Parameters
- outputX double
- outputY double
- sourcePoint OfficeIMO.Html.HtmlRenderSourcePoint?
Returns
boolInherited Methods
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 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.