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

TdxDocumentSaveOptions.CurrentFormat Property

Specifies the document format used to overwrite an existing file with the document opened in a Rich Edit component.

#Declaration

Delphi
property CurrentFormat: TdxRichEditDocumentFormat read; write; default TdxRichEditDocumentFormat.Undefined;

#Property Value

Type Default Description
TdxRichEditDocumentFormat Undefined

Enumerates document formats available in Rich Edit components.

#Remarks

The following end-user commands of a Rich Edit control use the current format to:

The following methods update the CurrentFileName and CurrentFormat property values with the full name and format of a successfully loaded document:

A Rich Edit component uses the DefaultFormat property value as the current document format if the CurrentFormat property is set to TdxRichEditDocumentFormat.Undefined.

Refer to the TdxRichEditDocumentFormat type description for detailed information on available formats.

Note

A Rich Edit component uses the DefaultFormat property value as the current format if the CurrentFormat property is set to TdxRichEditDocumentFormat.Undefined. A TdxRichEditControlBase.LoadDocumentTemplate or TdxRichEditCustomDocumentServer.LoadDocumentTemplate procedure call does not update the CurrentFileName and CurrentFormat properties.

The CurrentFormat property’s default value is TdxRichEditDocumentFormat.Undefined.

See Also