Description
Saves this image to a stream.
Syntax
GpStatus WINGDIPAPI GdipSaveImageToStream(
GpImage *image,
IStream* stream,
GDIPCONST
CLSID* clsidEncoder,
GDIPCONST
EncoderParameters* encoderParams
);
PowerBASIC Syntax
DECLARE FUNCTION GdipSaveImageToStream ( _
BYVAL pImage AS
DWORD, _
BYVAL pStream
AS DWORD, _
BYREF
clsidEncoder AS GUID, _
BYREF
encoderParams AS EncoderParameters _
) AS LONG
Parameters
image
[in] Pointer to the Image object.
stream
[in] Pointer to an IStream COM interface. The implementation
of IStream must include the Seek, Read, Write, and Stat
methods.
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.
|