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

TdxRichEditCustomDocumentServer.CreateNewDocument(Boolean) Method

Closes the opened document and creates a new blank document.

#Declaration

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

#Parameters

Name Type Description
ARaiseDocumentClosing Boolean

If True, the function raises the OnDocumentClosing event when the document server component is about to close the opened document. If False, the function raises no event.

#Returns

Type Description
Boolean

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

See Also