Поделиться через


Chart.GetImage Method (Chart.ImageType, out Boolean)

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.

Замечания

Добавления:5 декабря 2005 г.

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Chart Class
Chart Members
Microsoft.ReportingServices.ReportRendering Namespace