getCategory method
Gets the the document category.
return The document category. throws DocumentException An error has occurred during Document Library execution.
Implementation
DocumentCategory getCategory() {
Pointer<Int32> pCategory = calloc();
try {
var err = documentSDK.id3DocumentInfo_GetCategory(_pHandle.value, pCategory);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vCategory = DocumentCategoryX.fromValue(pCategory.value);
return vCategory;
} finally {
calloc.free(pCategory);
}
}