Get supported file formats
Leave feedback
GroupDocs.Watermark allows to get the list of all supported file formats by following the below steps:
- Call getSupportedFileTypes of FileType class;
- Enumerate through the collection of FileType objects*.*
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);
}
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.