Partilhar via


Chart.GetImage Method (Chart.ImageType)

Returns a metafile of the chart in the specified format using the Office Web Components.

Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
Public Function GetImage ( _
    type As ImageType _
) As MemoryStream
public MemoryStream GetImage (
    ImageType type
)
public:
MemoryStream^ GetImage (
    ImageType type
)
public MemoryStream GetImage (
    ImageType type
)
public function GetImage (
    type : ImageType
) : MemoryStream

Parameters

  • type
    An Chart.ImageType enumerator value indicating the format for the returned chart image.

Return Value

A MemoryStream object containing a metafile with the image in the specified format.

Remarks

New:5 December 2005

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Chart Class
Chart Members
Microsoft.ReportingServices.ReportRendering Namespace