Click or drag to resize

McImageUtilsSaveBitmap Method

Save bitmap to a file. The codec is selected automatically from the extension.

Namespace:  MediaCy.Controls.Common.Vb
Assembly:  MediaCy.Controls.Common.Vb (in MediaCy.Controls.Common.Vb.dll) Version: 3.1.0.0
Syntax
VB
Public Shared Function SaveBitmap ( 
	img As Bitmap,
	sFileName As String,
	Optional iCompression As Long = 75
) As Boolean

Parameters

img
Type: System.DrawingBitmap
sFileName
Type: SystemString
iCompression (Optional)
Type: SystemInt64
JPEG compression

Return Value

Type: Boolean
See Also