Get supported file formats
Leave feedback
GroupDocs.Watermark allows to get the list of all supported file formats by following the below steps:
- Call the GetSupportedFileTypes method of the FileType class;
- Enumerate through the collection of FileType objects.
The following code sample demonstrates how to get a supported file formats list.
BasicUsage.GetSupportedFileFormats
IEnumerable<FileType> supportedFileTypes = FileType.GetSupportedFileTypes();
foreach (FileType fileType in supportedFileTypes)
{
Console.WriteLine(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.