Partager via


Chart.GetImage Method (Chart.ImageType)

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

Espace de noms: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntaxe

'Déclaration
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

Paramètres

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

Valeur de retour

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

Notes

Nouveau :5 décembre 2005

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Chart Class
Chart Members
Microsoft.ReportingServices.ReportRendering Namespace