View as MarkdownMarkdown
GroupDocs.Watermark allows you to get the list of all supported file formats. To do this, follow these steps:
- Call the
getSupportedFileTypes method of the FileType class. - Enumerate through the collection of the
FileType objects.
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());
});
We value your opinion. Your feedback will help us improve our documentation.