Get supported file formats

Overview

With GroupDocs.Signature, you can retrieve the list of file formats that allow adding electronic signatures by following these steps:

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

This will give you the supported document formats for adding electronic signatures. The following code sample demonstrates how to get supported file formats list.

    const supportedFileTypes = signatureLib.FileType.getSupportedFileTypes().toArray();

    supportedFileTypes.forEach((fileType) => {
        console.log('\n' + fileType.getExtension());
    });

More resources

GitHub Examples

You may easily run the code above and see the feature in action in ourΒ GitHub examples:

Free Online Apps

Along with the full-featured .NET library, we provide simple but powerful free online apps.

To sign PDF, Word, Excel, PowerPoint, and other documents you can use the online apps from the GroupDocs.Signature App Product Family.