Get supported file formats
Leave feedback
On this page
GroupDocs.Watermark allows you to get the list of all supported file formats. To do this, follow these steps:
- Call the
getSupportedFileTypesmethod of theFileTypeclass. - Enumerate through the collection of the
FileTypeobjects.
The following code snippet shows how to obtain a list of supported file formats:
const supportedFileTypes = groupdocs.watermark.FileType.getSupportedFileTypes();
supportedFileTypes.forEach(fileType => {
console.log(fileType.toString());
});
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.