DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / Bitmap Method / Bitmap(Size,PixelFormat,Matrix) Method
The size of the image to generate
The requested format
The Matrix to apply to convert from DICOM coordinates to Bitmap coordinates



    Bitmap(Size,PixelFormat,Matrix) Method
    Creates a new Bitmap object, in the chosen format representing the appearance of a DicomImage
    Syntax
    'Declaration
     
    Public Overloads Function Bitmap( _
       ByVal Size As Size, _
       ByVal Format As PixelFormat, _
       ByVal Matrix As Matrix _
    ) As Bitmap
     
    'Usage
     
    Dim instance As DicomImage
    Dim Size As Size
    Dim Format As PixelFormat
    Dim Matrix As Matrix
    Dim value As Bitmap
     
    value = instance.Bitmap(Size, Format, Matrix)

    Parameters

    Size
    The size of the image to generate
    Format
    The requested format
    Matrix
    The Matrix to apply to convert from DICOM coordinates to Bitmap coordinates

    Return Value

    A Bitmap object
    Remarks
    Only some formats are allowed by Windows - only those supported by System.Drawing.Graphics.FromImage(System.Drawing.Image)
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also