Freigeben über


ActionsPane.DrawToBitmap(Bitmap, Rectangle) Method

Definition

Supports rendering to the specified bitmap.

public:
 void DrawToBitmap(System::Drawing::Bitmap ^ bitmap, System::Drawing::Rectangle targetBounds);
public void DrawToBitmap (System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds);
abstract member DrawToBitmap : System.Drawing.Bitmap * System.Drawing.Rectangle -> unit
Public Sub DrawToBitmap (bitmap As Bitmap, targetBounds As Rectangle)

Parameters

bitmap
Bitmap

The bitmap to be drawn to.

targetBounds
Rectangle

The bounds within which the actions pane is rendered.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.DrawToBitmap method. For more information about using this method, see System.Windows.Forms.Control.DrawToBitmap.

Applies to