ImageFile.SaveFile method

Saves the ImageFile object to the specified file.

Syntax

ImageFile.SaveFile( _
  ByVal Filename As BSTR _
) As HRESULT

Parameters

Filename [in]

Type: BSTR

Required. String value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For example code, see Create an ImageFile Object that Contains a Blank Page in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Reference

ImageFile

LoadFile