PrintingSettingsBuilder.Mode(PrintMode) Method
Specifies the print mode.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
#Declaration
public PrintingSettingsBuilder Mode(
PrintMode mode
)
#Parameters
Name | Type | Description |
---|---|---|
mode | Print |
The print mode. |
#Returns
Type | Description |
---|---|
Printing |
A builder that can be used to further configure the printing settings. |
#Remarks
The Mode method specifies the mode used to print a document in the following cases:
- when a user clicks the Print ribbon button;
- when the printDocument method is called without a parameter.
@(Html.DevExpress().RichEdit("richEdit")
.Printing(p => p.Mode(PrintMode.Pdf))
Use the printMode property to specify the print mode on the client side.