Get supported file formats

On this page

GroupDocs.Annotation allows you to get the list of supported file formats. To do this, follow these steps:

  1. Call the GetSupportedFileTypes method of the FileType class.
  2. Enumerate through the collection of FileType objects.

The following code snippet shows how to get supported file formats list:

IEnumerable<FileType> supportedFileTypes = FileType
	.GetSupportedFileTypes()
	.OrderBy(f => f.Extension);

foreach (FileType fileType in supportedFileTypes)
	Console.WriteLine(fileType);

On this page