Writes a visible part of the current CAD image as a raster image using ClipRect object as a tool.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
| Visual Basic (Declaration) |
Public Overridable Sub SaveToFile( _ ByVal FileName As String, _ ByVal ImgFormat As ImageFormat, _ ByVal clipRect As ClipRect, _ Optional ByVal pixelFormat As PixelFormat = PixelFormat.Format32bppRgb _ ) |
Parameters
-
FileName
-
Type: string
A path to the file to be saved.
-
ImgFormat
-
Type: ImageFormat
A ImageFormat object
specifying a format of the file to save.
-
clipRect
-
Type: ClipRect
A DRect object specifying a size of the CADImage. Set to null to get all size cadImage
-
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