.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

IRichEditDocumentServer.CreateNewDocument(Boolean) Method

Creates a new blank document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

bool CreateNewDocument(
    bool raiseDocumentClosing = false
)
Function CreateNewDocument(
    raiseDocumentClosing As Boolean = False
) As Boolean

Optional Parameters

Name Type Default Description
raiseDocumentClosing Boolean

False

true to raise the IRichEditDocumentServer.DocumentClosing event before creating a new document; otherwise false.

Returns

Type Description
Boolean

true to create a new document; otherwise false.

See Also