A Sandcastle Documented Class Library

# IExportService GenerateAndStoreViewThumbnailAsync 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
C#
VB
C++
F#
Copy

    Task GenerateAndStoreViewThumbnailAsync(
    	Guid viewId,
    	int width,
    	int height
    )

    Function GenerateAndStoreViewThumbnailAsync (
    	viewId As Guid,
    	width As Integer,
    	height As Integer
    ) As Task

    Task^ GenerateAndStoreViewThumbnailAsync(
    	Guid viewId,
    	int width,
    	int height
    )

    abstract GenerateAndStoreViewThumbnailAsync :
            viewId : Guid *
            width : int *
            height : int -> Task

#### Parameters

viewId
  Type: System
  Guid
  The ID of the view for which to generate a thumbnail.
width
  Type: System
  Int32
  The size of the width of the thumbnail.
height
  Type: System
  Int32
  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

Exception | Condition
--- | ---
ArgumentException | viewId is Empty.
ArgumentOutOfRangeException | width and/or height is less than or equal to zero.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IExportService Interface
Dundas.BI.Export Namespace