ClassFileFormatDetector
Class
Provides file format detection capabilities for various document types.
Definition
Namespace:Telerik.Documents.Utilities.Detectors.FileFormat
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
cs-api-definition
public class FileFormatDetector
Inheritance: objectFileFormatDetector
Constructors
FileFormatDetector()
Declaration
cs-api-definition
public FileFormatDetector()
Methods
Detect(Stream)
Detects the format of a file from a stream.
Declaration
cs-api-definition
public FileFormatDetectionResult Detect(Stream stream)
Parameters
stream
The stream containing the file data.
Returns
A FileFormatDetectionResult containing the detection outcome.