PrintLayoutViewSettingsBuilder.ShowHorizontalRuler(Boolean) Method
In This Article
Specifies whether the horizontal ruler is shown.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
#Declaration
C#
public PrintLayoutViewSettingsBuilder ShowHorizontalRuler(
bool value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Boolean | true to show the ruler; otherwise, false. |
#Returns
Type | Description |
---|---|
Print |
A builder for the Print Layout view mode’s settings. |
#Remarks
@(Html.DevExpress().RichEdit("richEdit")
.Views( v => v
.ViewType(ViewType.PrintLayout)
.PrintLayoutView(plv => plv.ShowHorizontalRuler(false))
)
)
)
See Also