Export(Stream,ImageFormat,Int32) Method
Export DicomImage to supported Image Format
public void Export(
System.IO.Stream ,
System.Drawing.Imaging.ImageFormat ,
System.int
)
public procedure Export(
: System.IO.Stream;
: System.Drawing.Imaging.ImageFormat;
: System.Integer
);
public function Export(
: System.IO.Stream,
: System.Drawing.Imaging.ImageFormat,
: System.int
);
public: void Export(
System.IO.Stream* ,
System.Drawing.Imaging.ImageFormat* ,
System.int
)
public:
void Export(
System.IO.Stream^ ,
System.Drawing.Imaging.ImageFormat^ ,
System.int
)
'Declaration
Public Overloads Sub Export( _
ByVal As System.IO.Stream, _
ByVal As System.Drawing.Imaging.ImageFormat, _
ByVal As System.Integer _
)
'Usage
Dim instance As DicomDataSet
Dim Stream As System.IO.Stream
Dim Format As System.Drawing.Imaging.ImageFormat
Dim Quality As System.Integer
instance.Export(Stream, Format, Quality)
Parameters
- Stream
The stream into which the image is written
- Format
The file format you would like to export image to
- Quality
The quality factor to be used. An integer that specifies the value stored in the System.Drawing.Imaging.EncoderParameter object
Target Platforms: .NET CLR 4.8 or higher