Back to Devexpress

TdxRichEditControlBase.CreateNewDocument(Boolean) Method

vcl-dxrichedit-dot-control-dot-core-dot-tdxricheditcontrolbase-dot-createnewdocument-x28-system-dot-boolean-x29.md

latest1.1 KB
Original Source

TdxRichEditControlBase.CreateNewDocument(Boolean) Method

Closes the opened document and creates a new blank document.

Declaration

delphi
function CreateNewDocument(ARaiseDocumentClosing: Boolean = False): Boolean; virtual;

Parameters

NameTypeDescription
ARaiseDocumentClosingBoolean

If True , the function raises the OnDocumentClosing event when the Rich Edit control is about to close the opened document. If False , the function raises no event.

|

Returns

TypeDescription
Boolean

True if a new document is successfully created; otherwise, False.

|

See Also

TdxRichEditControlBase

TdxRichEditControlBase Members

dxRichEdit.Control.Core Unit