Class
FileFormatDetectionResult

Represents the result of a file format detection operation.

Definition

Namespace:Telerik.Documents.Utilities.Detectors.FileFormat

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

cs-api-definition
public class FileFormatDetectionResult

Inheritance: objectFileFormatDetectionResult

Properties

ErrorMessage

Gets the error message if detection failed, or null if successful.

Declaration

cs-api-definition
public string ErrorMessage { get; }

Property Value

string

Format

Gets the detected document format type. Returns Unknown if detection was unsuccessful.

Declaration

cs-api-definition
public DocumentFormatType Format { get; }

Property Value

DocumentFormatType

IsSuccessful

Gets a value indicating whether a specific file format was successfully detected. Returns false if the format is unknown or detection failed.

Declaration

cs-api-definition
public bool IsSuccessful { get; }

Property Value

bool

In this article
DefinitionPropertiesErrorMessageFormatIsSuccessful
Not finding the help you need?
Contact Support