Renders the visual asynchronously to a PNG image with the specified settings.
            
            Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
public Task<RenderResult> RenderAsync( RenderResultSettings resultSettings, VisualRenderSettings visualSettings, CancellationToken cancellationToken )
Parameters
- resultSettings
- Type: Spotfire.Dxp.Application.VisualsRenderResultSettings
 The result settings.
- visualSettings
- Type: Spotfire.Dxp.Application.VisualsVisualRenderSettings
 The visual 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
See Also