Skip to main content

PrintLayoutViewSettingsBuilder.ShowHorizontalRuler(Boolean) Method

Specifies whether the horizontal ruler is shown.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v24.1.dll

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public PrintLayoutViewSettingsBuilder ShowHorizontalRuler(
    bool value
)

Parameters

Name Type Description
value Boolean

true to show the ruler; otherwise, false.

Returns

Type Description
PrintLayoutViewSettingsBuilder

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