Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IFormatDetectorService.DetectFormat(Stream) Method

Determines the format of the document contained in the stream.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

DocumentFormat DetectFormat(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object that is the stream containing the document.

Returns

Type Description
DocumentFormat

A DocumentFormat enumeration value specifying the document format.

See Also