ViewManagerCaptureImage Method |
Namespace: VIZCore3D.NET.Manager
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { // Image : Current View System.Drawing.Image img = vizcore3d.View.CaptureImage(); } private void CaptureImageToClipboard() { vizcore3d.View.CaptureImageToClipboard(); } private void CaptureCustomSize(int width, int height) { vizcore3d.View.BeginBackgroundRenderingMode(width, height); vizcore3d.View.RotateCamera(VIZCore3D.NET.Data.AxisDirection.Z_PLUS, 90); System.Drawing.Image resizedImg = vizcore3d.View.GetBackgroundRenderingImage(); vizcore3d.View.EndBackgroundRenderingMode(); }