DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / DrawToBitmap Method






In This Topic
    DrawToBitmap Method (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Security.Permissions.UIPermissionAttribute(UIPermissionWindow.AllWindows)>
    Public Sub DrawToBitmap( _
       ByVal bitmap As System.Drawing.Bitmap, _
       ByVal targetBounds As System.Drawing.Rectangle _
    ) 
    'Usage
     
    
    Dim instance As DicomViewer
    Dim bitmap As System.Drawing.Bitmap
    Dim targetBounds As System.Drawing.Rectangle
     
    instance.DrawToBitmap(bitmap, targetBounds)
    [System.Security.Permissions.UIPermission(UIPermissionWindow.AllWindows)]
    public void DrawToBitmap( 
       System.Drawing.Bitmap bitmap,
       System.Drawing.Rectangle targetBounds
    )
    public procedure DrawToBitmap( 
        bitmap: System.Drawing.Bitmap;
        targetBounds: System.Drawing.Rectangle
    ); 
    System.Security.Permissions.UIPermissionAttribute(UIPermissionWindow.AllWindows)
    public function DrawToBitmap( 
       bitmap : System.Drawing.Bitmap,
       targetBounds : System.Drawing.Rectangle
    );
    [System.Security.Permissions.UIPermission(UIPermissionWindow.AllWindows)]
    public: void DrawToBitmap( 
       System.Drawing.Bitmap* bitmap,
       System.Drawing.Rectangle targetBounds
    ) 
    [System.Security.Permissions.UIPermission(UIPermissionWindow.AllWindows)]
    public:
    void DrawToBitmap( 
       System.Drawing.Bitmap^ bitmap,
       System.Drawing.Rectangle targetBounds
    ) 

    Parameters

    bitmap
    targetBounds
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also