Writes a specified part of the current CAD image to the disk as a raster image.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Sub SaveToFile( _ ByVal FileName As String, _ ByVal ImgFormat As ImageFormat, _ ByVal aCurRect As DRect, _ ByVal clipRect As Rectangle _ ) |
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.
-
aCurRect
-
Type: DRect
A DRect object specifying a size of the CADImage.
-
clipRect
-
Type: Rectangle
A Rectangle object that specifies a part of
the current CAD image to be written to the clipboard.
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET6
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also