Get supported file formats
GroupDocs.Watermark allows to get the list of all supported file formats by following the below steps:
- Call GetSupportedFileTypesof FileType class;
- Enumerate through the collection of FileTypeobjects*.*
The following code sample demonstrates how to get supported file formats list.
BasicUsage.GetSupportedFileFormats
IEnumerable<FileType> supportedFileTypes = FileType.GetSupportedFileTypes();
foreach (FileType fileType in supportedFileTypes)
{
Console.WriteLine(fileType);
}
More resources
Advanced usage topics
To learn more about document watermarking features and get familiar how to manage watermarks and more, please refer to the advanced usage section.
GitHub examples
You may easily run the code above and see the feature in action in our GitHub examples:
Free online document watermarking App
Along with full featured .NET library we provide simple, but powerful free Apps.
You are welcome to add watermark to PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online Free Online Document Watermarking App.