This function loads annotations from file to the ArtX page specified.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT IG_ARTX_page_load_file( HIG_ARTX_PAGE hArtPage, LPSTR lpszFileName, AT_DWORD dwPageNumber, AT_BOOL bAppend ); |
Arguments:
hArtPage | ArtX page handle. |
lpszFileName | Name of file with annotations. It can be a legacy Art2 data file or ArtX XML annotation storage. |
dwPageNumber | Specifies annotation page number to load from multi-page file. |
bAppend | When set to FALSE, specifies that current content of ArtX page is destroyed before annotation loading. Otherwise file content is to append ArtX page |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.