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, _
<OutAttribute> ByRef hasImageMap As Boolean _
) As MemoryStream
public MemoryStream GetImage (
ImageType type,
out bool hasImageMap
)
public:
MemoryStream^ GetImage (
ImageType type,
[OutAttribute] bool% hasImageMap
)
public MemoryStream GetImage (
ImageType type,
/** @attribute OutAttribute() */ /** @ref */ boolean hasImageMap
)
JScript 不支援以傳址方式傳遞值類型的引數。
參數
- type
An Chart.ImageType enumerator value indicating the format for the returned chart image.
- hasImageMap
[out] A Boolean value indicating whether the image has an image map.
傳回值
A MemoryStream object containing a metafile with the image in the specified format.
備註
新增:2005 年 12 月 5 日
Currently supported image types are EMF or PNG.
執行緒安全性
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