LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DrawToBitmap Method
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : DrawToBitmap Method



bitmap
The bitmap to be drawn to.
targetBounds
The bounds within which the control is rendered.
bitmap
The bitmap to be drawn to.
targetBounds
The bounds within which the control is rendered.
Supports rendering to the specified bitmap.

Syntax

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

Parameters

bitmap
The bitmap to be drawn to.
targetBounds
The bounds within which the control is rendered.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features