Get supported file formats

GroupDocs.Watermark allows to get the list of all supported file formats by following the below steps:

The following code sample demonstrates how to get a supported file formats list.

basic_usage.GetSupportedFileFormats

FileType[] fileTypes = FileType.getSupportedFileTypes();
for(FileType fileType : fileTypes) {                    
    System.out.println(fileType);                       
}