IEditCharacter::SaveCharacter

Saves the character to the given file.

   

HRESULT SaveCharacter( OLECHAR* path, long filter, ICharacter* pchar );

Parameters

path
[in]
filter
[in] 1 based index of the exporter to use. This can be set to 0 to find the exporter based on the file extension.
pchar
[in] Pointer to the character to be saved.

Return Values

Remarks

A filter is specified to overcome potential ambiguity when more than one exporter exists for the same file extension or when multiple file formats share the same file extension. The filter index should match that used by OPENFILENAME::nFilterIndex when using the list of filters obtained by calling IEditCharacter::GetExportFilterList. NOTE: This will overwrite the given file if it exists without prompting the user.

See Also

ICharacter

Copyright © 2004-2010 Fragmosoft