All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxRichEditPrintingSettings.PrintMode Property

Specifies the print mode.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v19.2.dll

Declaration

[DefaultValue(PrintMode.ServerPdf)]
public PrintMode PrintMode { get; set; }
<DefaultValue(PrintMode.ServerPdf)>
Public Property PrintMode As PrintMode

Property Value

Type Default Description
PrintMode

ServerPdf

A print mode.

Remarks

The ASPxRichEdit control supports two print modes: Server PDF Mode (ServerPdf) and Client HTML Mode (ClientHtml).

  • In server PDF mode (default), ASPxRichEdit sends a request to the server for the printed document. The server exports the document to a PDF file and sends the result to the client. On the client, the control invokes the Print dialog for the PDF file.
  • In client HTML mode, ASPxRichEdit renders the current document’s markup into a blank browser tab and calls the browser's native Print dialog. It allows you to print the same layout that you see on the screen.
ASPxRichEdit.Settings.Printing.PrintMode = PrintMode.ClientHtml;
See Also