'Declaration Public Shared Function WriteImageToStream( _ ByVal image As System.Drawing.Image, _ ByVal imageFormat As System.Drawing.Imaging.ImageFormat, _ ByVal stream As System.IO.Stream _ ) As System.Drawing.Imaging.ImageFormat
public static System.Drawing.Imaging.ImageFormat WriteImageToStream( System.Drawing.Image image, System.Drawing.Imaging.ImageFormat imageFormat, System.IO.Stream stream )
Parameters
- image
- imageFormat
- stream
Return Value
Returns null if error occurs during writing or System.Drawing.Imaging.ImageFormat which was actually used to save an image.