Detects document file format.
For a list of all members of this type, see DocumentFormatDetector Members.
System.Object
Aspose.Editor.Server.DocumentFormatDetector
[Visual Basic]
NotInheritable Public Class DocumentFormatDetector
[C#]public sealed class DocumentFormatDetector
Example
Shows how to detect format of the document from file.
[C#]
DocumentFormat format = DocumentFormatDetector.Detect(@"Documents\Welcome.xml");
Debug.WriteLine("Document format is " + format.ToString());
[Visual Basic]
Dim format As DocumentFormat = DocumentFormatDetector.Detect("Documents\Welcome.xml")
Debug.WriteLine("Document format is " & format.ToString())Requirements
Namespace: Aspose.Editor.Server
Assembly: Aspose.Editor.Server (in Aspose.Editor.Server.dll)
See Also
DocumentFormatDetector Members | Aspose.Editor.Server Namespace