DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomImage Class / RenderToArray Method / RenderToArray(Array,Boolean,Int32,Int32) Method

Array to write the image presentation data to

Set Colour to True if you want the color output.

Bit depth of final data.

Choose which frame of a Multi-Frame Image you want to render.




In This Topic
    RenderToArray(Array,Boolean,Int32,Int32) Method
    In This Topic
    Render the DicomImage to array. The data returned will be exactly the same as the "presentation data" if the Image gets displayed on screen.
    Syntax
    'Declaration
     
    
    Public Overloads Sub RenderToArray( _
       ByVal destination As Array, _
       ByVal Colour As Boolean, _
       ByVal BitsPerSample As Integer, _
       ByVal frame As Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim destination As Array
    Dim Colour As Boolean
    Dim BitsPerSample As Integer
    Dim frame As Integer
     
    instance.RenderToArray(destination, Colour, BitsPerSample, frame)
    public void RenderToArray( 
       Array destination,
       bool Colour,
       int BitsPerSample,
       int frame
    )
    public:
    void RenderToArray( 
       Array^ destination,
       bool Colour,
       int BitsPerSample,
       int frame
    ) 

    Parameters

    destination

    Array to write the image presentation data to

    Colour

    Set Colour to True if you want the color output.

    BitsPerSample

    Bit depth of final data.

    frame

    Choose which frame of a Multi-Frame Image you want to render.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also