CommonCaptureWindowToBitmap Method
|
|
Capture control-based window to bitmap. It allows capturing OpenGL windows as well.
Namespace:
MediaCy.Controls.Common.Vb
Assembly:
MediaCy.Controls.Common.Vb (in MediaCy.Controls.Common.Vb.dll) Version: 3.1.0.0
SyntaxPublic Shared Function CaptureWindowToBitmap (
ctrl As Control,
Optional bSupportOpenGL As Boolean = false
) As Image
Parameters
- ctrl
- Type: System.Windows.FormsControl
- bSupportOpenGL (Optional)
- Type: SystemBoolean
when this option is on, the screen copy is captured allowing OpenGL support
Return Value
Type:
Image
Remarks
See Also