Partager via


Méthode GetImage (DynamicImageInstance.ImageType)

Returns the image of the current instance by specifying the type of the rendered image.

Espace de noms :  Microsoft.ReportingServices.OnDemandReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
Public Function GetImage ( _
    type As DynamicImageInstance..::..ImageType _
) As Stream
'Utilisation
Dim instance As DynamicImageInstance
Dim type As DynamicImageInstance..::..ImageType
Dim returnValue As Stream

returnValue = instance.GetImage(type)
public Stream GetImage(
    DynamicImageInstance..::..ImageType type
)
public:
Stream^ GetImage(
    DynamicImageInstance..::..ImageType type
)
member GetImage : 
        type:DynamicImageInstance..::..ImageType -> Stream 
public function GetImage(
    type : DynamicImageInstance..::..ImageType
) : Stream

Valeur de retour

Type : System.IO. . :: . .Stream
A [System.IO.Stream] object that contains the image stream.