Get document information
Leave feedback
GroupDocs.Merger allows to get document information which includes:
The following code sample demonstrates how to get document information.
const merger = new groupdocs.merger.Merger('c:/sample.vsdx');
const documentInformation = merger.getDocumentInfo();
const documentType = documentInformation.getType();
console.log(`Document info file format: ${documentType.getFileFormat()}`);
console.log(`Document info page count: ${documentInformation.getPageCount()}`);
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.