officefileapi-devexpress-dot-xtrarichedit-dot-richeditdocumentserver-d6e457fb.md
Maintained for compatibility with the code written for the RichEditControl.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public bool IsPrintingAvailable { get; }
Public ReadOnly Property IsPrintingAvailable As Boolean
| Type | Description |
|---|---|
| Boolean |
Always true.
|
To print the document contained in the RichEditDocumentServer , use the PrintableComponentLinkBase.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsPrintingAvailable property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
word-document-api-use-printablecomponentlink-to-print-document/CS/PrintingSystem/Form1.cs#L53
{
if (!srv.IsPrintingAvailable) return;
using (PrintingSystemBase ps = new PrintingSystemBase())
word-document-api-use-printablecomponentlink-to-print-document/VB/PrintingSystem/Form1.vb#L53
Private Shared Sub PrintViaLink(ByVal srv As RichEditDocumentServer)
If Not srv.IsPrintingAvailable Then Return
Using ps As PrintingSystemBase = New PrintingSystemBase()
See Also