Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#

#Parameters

Name Type Description
mode PrintMode

The print mode.

#Returns

Type Description
PrintingSettingsBuilder

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.

See Also