共用方式為


Chart.GetImage Method (Chart.ImageType)

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

命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

語法

'宣告
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

參數

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

傳回值

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

備註

新增:2005 年 12 月 5 日

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Chart Class
Chart Members
Microsoft.ReportingServices.ReportRendering Namespace