Share via


DynamicImageInstance.GetImage Method (DynamicImageInstance.ImageType)

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

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Function GetImage ( _
    type As DynamicImageInstance..::..ImageType _
) As Stream
'Usage
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

Return Value

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