'Declaration Public Overloads Shared Function WriteImageToStream( _ ByVal image As Image, _ ByVal imageFormat As ImageFormat, _ ByVal stream As Stream _ ) As ImageFormat
public static ImageFormat WriteImageToStream( Image image, ImageFormat imageFormat, 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.