|[Top] [Chapter] [Previous] [Next]|
public void DrawToBitmap(Bitmap bmp, Rectangle Rect)
This method (only defined in .NET wrapper) makes a screenshot of the complete editor and the toolbars at the position Rect.Left and Rect.Top on the provided bitmap. Please note that the scrollbars will not be visible if the editor is hidden.
Note: Rect.Width and Rect.Height are currently not used.
Bitmap ScreenShot = new Bitmap(wpdllInt1.Width, wpdllInt1.Height);
wpdllInt1.DrawToBitmap(ScreenShot, new Rectangle(0, 0, wpdllInt1.Width, wpdllInt1.Height));