LVectorFile::SaveFile

#include "ltwrappr.h"

virtual L_INT LVectorFile::SaveFile(nFormat, pSaveFileOption=NULL)

L_INT nFormat;

/* output file format */

pSAVEFILEOPTION pSaveFileOption;

/* pointer to a structure */

Creates a file in any of the supported compressed or uncompressed formats.

Parameter

Description

nFormat

Output file format. For valid values, refer to Formats of Output Files.

pSaveFileOption

Pointer to a SAVEFILEOPTION structure that contains information about saving the file.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Note: More options are available in the SAVEFILEOPTION  structure.

Required DLLs and Libraries

LVKRN
LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Topics:

Vector Images: Loading and Saving Vector Files

 

Vector Loading, Saving and Copying

Example

For an example, refer to LVectorFile::LVectorFile().