Back to Devexpress

RichEditControl.SaveDocumentAs(IWin32Window) Method

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-dot-savedocumentas-x28-system-dot-windows-dot-forms-dot-iwin32window-x29.md

latest2.3 KB
Original Source

RichEditControl.SaveDocumentAs(IWin32Window) Method

Invokes the Save As form which is shown modally as a child of the specified parent window.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public virtual void SaveDocumentAs(
    IWin32Window parent
)
vb
Public Overridable Sub SaveDocumentAs(
    parent As IWin32Window
)

Parameters

NameTypeDescription
parentIWin32Window

The IWin32Window that represents the parent window.

|

Remarks

See the RichEditControl.SaveDocument articles for more information.

You can also execute the SaveDocumentAsCommand command to invoke the dialog and save the file. The command is accessible via bar or Ribbon UI.

Note

The SaveDocumentAs method call does not automatically change the RichEditControl.Modified property value.

See Also

How to: Save a Document in the RichEditControl

BeforeExport

IUriProvider

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace