Back to Devexpress

IRichEditDocumentServer.CreateNewDocument(Boolean) Method

officefileapi-devexpress-dot-xtrarichedit-dot-iricheditdocumentserver-dot-createnewdocument-x28-system-dot-boolean-x29.md

latest1.6 KB
Original Source

IRichEditDocumentServer.CreateNewDocument(Boolean) Method

Creates a new blank document.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Optional Parameters

NameTypeDefaultDescription
raiseDocumentClosingBooleanFalse

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

|

Returns

TypeDescription
Boolean

true to create a new document; otherwise false.

|

See Also

IRichEditDocumentServer Interface

IRichEditDocumentServer Members

DevExpress.XtraRichEdit Namespace