getCount method
Gets the number of elements in the DocumentInfoDictionary object.
return Number of elements in the DocumentInfo object. throws DocumentException An error has occurred during Document Library execution.
Implementation
int getCount() {
Pointer<Int> pCount = calloc();
try {
var err = documentSDK.id3DocumentInfoDictionary_GetCount(_pHandle.value, pCount);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vCount = pCount.value;
return vCount;
} finally {
calloc.free(pCount);
}
}