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.CurrentFileName Property

Specifies the full path used to overwrite an existing file with the opened document.

#Declaration

Delphi
property CurrentFileName: string read; write;

#Property Value

Type
string

#Remarks

Use this property to identify or change the name of the opened document if the source file exists.

The following end-user commands of a Rich Edit control use the current file name 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 DefaultFileName property value as the current file name if the CurrentFileName property is set to an empty string.

Note

A TdxRichEditControlBase.LoadDocumentTemplate or TdxRichEditCustomDocumentServer.LoadDocumentTemplate procedure call does not update the CurrentFileName and CurrentFormat properties.

The CurrentFileName property’s default value is an empty string.

See Also