IExportServiceGenerateAndStoreViewThumbnailAsync Method

Generates a PNG thumbnail image for the view of the specified size.

Namespace:  Dundas.BI.Export
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
Task GenerateAndStoreViewThumbnailAsync(
	Guid viewId,
	int width,
	int height
)

Parameters

viewId
Type: SystemGuid
The ID of the view for which to generate a thumbnail.
width
Type: SystemInt32
The size of the width of the thumbnail.
height
Type: SystemInt32
The size of the height of the thumbnail.

Return Value

Type: Task
A task which when successful contains the path of the thumbnail generated.
Exceptions
ExceptionCondition
ArgumentExceptionviewId is Empty.
ArgumentOutOfRangeExceptionwidth and/or height is less than or equal to zero.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also