FileDescriptionFileFormat Property
Gets the file format e.g. "Microsoft Word".

Namespace: GroupDocs.Viewer.Domain
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public string FileFormat { get; }

Property Value

Type: String
The file format.
Examples
The following example demonstrates how to get file format.
C#
string guid = @"C:\storage\document.doc";
FileDescription fileDescription = new FileDescription(guid);
Console.WriteLine(fileDescription.FileFormat);
//Result will be "Microsoft Word".
See Also