Partager via


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

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, _
    <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 ne prend pas en charge le passage d'arguments de type valeur par référence.

Paramètres

  • 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.

Valeur de retour

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

Notes

Nouveau :5 décembre 2005

Currently supported image types are EMF or PNG.

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