L_LTANN_API L_INT L_AnnLoadMulti(pFile, phObjects, nCount, pnItemsRead, pLoadOptions)
Loads the specified annotation file.
Name of the file to load.
Pointer to an array that will receive the annotation container objects.
Size of the
Pointer to an L_INT that will receive the count of annotation containers successfully read.
Pointer to optional extended load options. Pass NULL because this parameter is currently ignored.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
To use this function:
phObjects, and 0 for
This function loads all pages of a multi-page annotation file into an array. Each consecutive page of the multi-page annotation file corresponds to one annotation container, which is loaded into consecutive slots of the array. If the annotation file contains many pages, then this function will load the multi-page annotation file much faster than repeated calls to L_AnnLoad function. Note that this function only loads annotation files that use the ANNFMT_XML format.
Required DLLs and Libraries
For an example, refer to L_AnnSaveMulti
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries