Saves a part of the current CAD image to the stream of the specified format.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Overrides Sub SaveToStream( _ ByVal str As Stream, _ ByVal ImgFormat As ImageFormat, _ ByVal aCurRect As DRect, _ ByVal clipRect As Rectangle _ ) |
Parameters
-
str
-
Type: Stream
A stream, where to save an 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 saved.
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET6
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also