ViewsSettingsBuilder.PrintLayoutView(Action<PrintLayoutViewSettingsBuilder>) Method
In This Article
Specifies the Print Layout view mode’s settings.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
#Declaration
C#
public ViewsSettingsBuilder PrintLayoutView(
Action<PrintLayoutViewSettingsBuilder> configure
)
#Parameters
Name | Type | Description |
---|---|---|
configure | Action<Print |
A method that configures the Print Layout view mode settings. |
#Returns
Type | Description |
---|---|
Views |
A builder for Rich Text Editor’s view settings. |
#Remarks
Call the ViewType(ViewType) method with the PrintLayout
parameter to set the Rich Text Editor view mode to the Print Layout.
@(Html.DevExpress().RichEdit("richEdit")
.Views( v => v
.ViewType(ViewType.PrintLayout)
.PrintLayoutView(plv => plv.ShowHorizontalRuler(false))
)
)
)
You can use the printLayoutViewSettings property to specify the Print Layout view mode’s settings on the client.
See Also