DrawToBitmap Method (LicenseDialog)
In This Topic
Syntax
'Declaration
<System.Security.Permissions.UIPermissionAttribute(UIPermissionWindow.AllWindows)>
Public Sub DrawToBitmap( _
ByVal As System.Drawing.Bitmap, _
ByVal As System.Drawing.Rectangle _
)
'Usage
Dim instance As LicenseDialog
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 ,
System.Drawing.Rectangle
)
public procedure DrawToBitmap(
: System.Drawing.Bitmap;
: System.Drawing.Rectangle
);
System.Security.Permissions.UIPermissionAttribute(UIPermissionWindow.AllWindows)
public function DrawToBitmap(
: System.Drawing.Bitmap,
: System.Drawing.Rectangle
);
[System.Security.Permissions.UIPermission(UIPermissionWindow.AllWindows)]
public: void DrawToBitmap(
System.Drawing.Bitmap* ,
System.Drawing.Rectangle
)
[System.Security.Permissions.UIPermission(UIPermissionWindow.AllWindows)]
public:
void DrawToBitmap(
System.Drawing.Bitmap^ ,
System.Drawing.Rectangle
)
Parameters
- bitmap
- targetBounds
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also