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