Saves a current CAD image to the stream of the specified format.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Overridable Sub SaveToStream( _ 
ByVal str As Stream, _ 
ByVal ImgFormat As ImageFormat, _ 
ByVal aCurRect As DRect, _ 
ByVal clipRect As Rectangle, _ 
ByVal format As PixelFormat
)
This language is not supported or no code example is available.
public virtual void SaveToStream( 
Stream str
ImageFormat ImgFormat
DRect aCurRect
Rectangle clipRect
PixelFormat format 
)
This language is not supported or no code example is available.

Parameters

str

Type: Stream

A stream, where the image is saved

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.

format

Type: PixelFormat

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, Windows10, Windows11

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4; NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1