PageRenderAsync Method TIBCO Spotfire 7.12 API Reference
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: 30.0.11525.4184 (30.0.11525.4184)
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: 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