ViewsSettingsBuilder.PrintLayoutView(Action<PrintLayoutViewSettingsBuilder>) Method
Specifies the Print Layout view mode’s settings.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.1.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
Declaration
public ViewsSettingsBuilder PrintLayoutView(
Action<PrintLayoutViewSettingsBuilder> configure
)
Parameters
Name | Type | Description |
---|---|---|
configure | Action<PrintLayoutViewSettingsBuilder> | A method that configures the Print Layout view mode settings. |
Returns
Type | Description |
---|---|
ViewsSettingsBuilder | 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