DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Bitmap Method / Bitmap(Int32) Method

The frame number to use. This is 1-index, i.e. first frame is 1 not 0







In This Topic
    Bitmap(Int32) Method
    In This Topic
    Creates a Bitmap Image from DicomImage
    Syntax
    'Declaration
     
    
    Public Overloads Function Bitmap( _
       ByVal frame As System.Integer _
    ) As System.Drawing.Bitmap
    'Usage
     
    
    Dim instance As DicomImage
    Dim frame As System.Integer
    Dim value As System.Drawing.Bitmap
     
    value = instance.Bitmap(frame)
    public System.Drawing.Bitmap Bitmap( 
       System.int frame
    )
    public function Bitmap( 
        frame: System.Integer
    ): System.Drawing.Bitmap; 
    public function Bitmap( 
       frame : System.int
    ) : System.Drawing.Bitmap;
    public: System.Drawing.Bitmap* Bitmap( 
       System.int frame
    ) 
    public:
    System.Drawing.Bitmap^ Bitmap( 
       System.int frame
    ) 

    Parameters

    frame

    The frame number to use. This is 1-index, i.e. first frame is 1 not 0

    Return Value

    Bitmap
    Remarks
    Returns a Bitmap image of the full size of the current Frame of the DicomImage
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also