Description
Saves this image to a file.
Syntax
GpStatus WINGDIPAPI GdipSaveImageToFile(
GpImage *image,
GDIPCONST
WCHAR* filename,
GDIPCONST
CLSID* clsidEncoder,
GDIPCONST
EncoderParameters* encoderParams
);
PowerBASIC Syntax
DECLARE FUNCTION GdipSaveImageToFile ( _
BYVAL pImage AS
DWORD, _
BYVAL pFilename
AS STRING, _
BYREF
clsidEncoder AS GUID, _
BYREF
encoderParams AS EncoderParameters _
) AS LONG
Parameters
image
[in] Pointer to the Image object.
filename
[in] Pointer to a null-terminated unicode string that specifies the
path name for the saved image.
clsidEncoder
[in] Pointer to a CLSID that specifies the encoder to use to
save the image.
encoderParams
[in] Pointer to an EncoderParameters structure that
holds parameters used by the encoder. The default value is NULL.
|