API Reference
Class
HtmlRenderPage
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
- Property HtmlRenderDocument.Pages
Methods
CreateDrawing 2 overloads
public OfficeDrawing CreateDrawing() #Returns:
OfficeDrawingCreates a dependency-free drawing snapshot for PNG or SVG rendering.
public OfficeDrawing CreateDrawing(CancellationToken cancellationToken) #Returns:
OfficeDrawingCreates a dependency-free drawing snapshot for PNG or SVG rendering with cooperative cancellation.
Parameters
- cancellationToken System.Threading.CancellationToken
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.