Renders the page asynchronously to a PNG image with the specified settings.
Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public Task<RenderResult> RenderAsync( RenderResultSettings resultSettings, PageRenderSettings pageSettings, CancellationToken cancellationToken )
Parameters
- resultSettings
- Type: Spotfire.Dxp.Application.VisualsRenderResultSettings
The result render settings. - pageSettings
- Type: Spotfire.Dxp.Application.VisualsPageRenderSettings
The page render settings. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type: TaskRenderResultThe started rendering task.
Exceptions
Exception | Condition |
---|---|
OperationCanceledException | Will be thrown if the cancellation token is already already canceled when this method is called. |
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also