Available in LEADTOOLS Vector Imaging toolkits. |
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 Summary of All Supported Image File Formats |
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 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: |
|
Topics: |
|
|
Example
For an example, refer to LVectorFile::LVectorFile().