getFormat method
Gets the the document format.
return The document format. throws DocumentException An error has occurred during Document Library execution.
Implementation
DocumentFormat getFormat() {
Pointer<Int32> pFormat = calloc();
try {
var err = documentSDK.id3DocumentInfo_GetFormat(_pHandle.value, pFormat);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vFormat = DocumentFormatX.fromValue(pFormat.value);
return vFormat;
} finally {
calloc.free(pFormat);
}
}