The following code sample demonstrates how to get document information.
constmerger=newgroupdocs.merger.Merger('c:/sample.vsdx');constdocumentInformation=merger.getDocumentInfo();constdocumentType=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.
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.