Share via


Chart.GetImage Method ()

Returns a metafile of the chart.

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

Syntax

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

Return Value

A MemoryStream object containing a metafile with the image.

Remarks

New:5 December 2005

The image will be at the appropriate size to render at 96dpi.

A Metafile class defines a graphic metafile. A metafile contains records that describe a sequence of graphics operations that can be recorded (constructed) and played back (displayed). For more information on the MetaFile class, see MetaFile Class.

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