VisualRenderAsync Method TIBCO Spotfire 7.12 API Reference
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: TaskRenderResult
The started rendering task.
Exceptions

ExceptionCondition
OperationCanceledExceptionWill be thrown if the cancellation token is already already canceled when this method is called.
Version Information

Supported in: 7.12
See Also

Reference