Skip to main content

TdxDocumentSaveOptions.CurrentFileName Property

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

Declaration

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