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