ImageMan.Net Version 3 Summer 2012 Release
DrawToBitmap Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Viewer Class : DrawToBitmap Method





bitmap
targetBounds

Glossary Item Box

Syntax

Visual Basic (Declaration) 
<System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or  _
    UIPermissionWindow.SafeTopLevelWindows Or  _
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Sub DrawToBitmap( _
   ByVal bitmap As System.Drawing.Bitmap, _
   ByVal targetBounds As System.Drawing.Rectangle _
) 
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim bitmap As System.Drawing.Bitmap
Dim targetBounds As System.Drawing.Rectangle
 
instance.DrawToBitmap(bitmap, targetBounds)
C# 
[System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public void DrawToBitmap( 
   System.Drawing.Bitmap bitmap,
   System.Drawing.Rectangle targetBounds
)
JScript 
System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=)
public function DrawToBitmap( 
   bitmap : System.Drawing.Bitmap,
   targetBounds : System.Drawing.Rectangle
);
Managed Extensions for C++ 
[System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public: void DrawToBitmap( 
   System.Drawing.Bitmap* bitmap,
   System.Drawing.Rectangle targetBounds
) 
C++/CLI 
[System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
void DrawToBitmap( 
   System.Drawing.Bitmap^ bitmap,
   System.Drawing.Rectangle targetBounds
) 

Parameters

bitmap
targetBounds

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

© 2014 Data Techniques, Inc. All Rights Reserved.