Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IFormatDetectorService.DetectFormat(Stream) Method

Determines the format of the document contained in the stream.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v24.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