Save file as a screenshot
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
| Visual Basic (Declaration) |
Public Sub SnapScreenshot( _ ByVal FileName As String, _ ByVal ImgFormat As ImageFormat, _ ByVal drawControl As Control, _ Optional ByVal pixelFormat As PixelFormat = PixelFormat.Format32bppRgb _ ) |
Parameters
-
FileName
-
Type: string
A location on the disk where to save the image.
-
ImgFormat
-
Type: ImageFormat
A ImageFormat object
specifying a format of the file to save.
-
drawControl
-
Type: Control
The control on which cadImage is drawn
-
pixelFormat
-
Type: PixelFormat
PixelFormat of image
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET8
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also