ActionsPane.DrawToBitmap Method
Supports rendering to the specified bitmap.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Sub DrawToBitmap ( _
bitmap As Bitmap, _
targetBounds As Rectangle _
)
void DrawToBitmap(
Bitmap bitmap,
Rectangle targetBounds
)
Parameters
- bitmap
Type: System.Drawing.Bitmap
The bitmap to be drawn to.
- targetBounds
Type: System.Drawing.Rectangle
The bounds within which the actions pane is rendered.
Remarks
This method provides the same functionality as the Control.DrawToBitmap method. For more information about using this method, see Control.DrawToBitmap.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace