ImageGear Professional DLL v17.1 for Windows Accusoft
ART_file_export
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ART Component API Reference > ART Component Functions Reference > File Functions > ART_file_export

Glossary Item Box

This function saves the marks associated with the HIGEAR image to a separate .ART file.

Declaration:

  Copy Code
AT_ERRCOUNT ART_file_export(
        HIGEAR hIGear, 
        const LPSTR lpszFileName, 
        DWORD dwPageNumber, 
        BOOL fReplace
);

Arguments:

hIGear HIGEAR handle to the image.
lpszFileName A far pointer to a NULL-terminated string containing the name of the .ART file to export.
dwPageNumber Use this parameter to save one page of an existing file to a new file. Set this parameter to the page number of the .ART file that you want to save to the new file.
fReplace This parameter is relevant if the target .ART file already exists and has multiple pages. Set to TRUE to replace the page; set to FALSE to insert the page.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

Annotation

Example:

  Copy Code
HIGEAR hIGear; /* HIGEAR handle of image */
char FAR *szARTFile; /* Name of the ART file  */
/* to export  */
AT_ERRCOUNT nErrcount; /* Tally of IG errors on stack */
szARTFile = "ARTsnack.ART";
nErrcount = IG_save_file(hIGear, "Snack.png", 
IG_SAVE_PNG);
nErrcount = ART_file_export(hIGear, szARTFile, 2, 
FALSE);

Remarks:

Other ways to save marks:

©2012. Accusoft Corporation. All Rights Reserved.