Skip to main content
All docs
V25.2
  • PrintLayoutViewSettingsBuilder.ShowHorizontalRuler(Boolean) Method

    Specifies whether the horizontal ruler is shown.

    Namespace: DevExpress.AspNetCore.RichEdit

    Assembly: DevExpress.AspNetCore.RichEdit.v25.2.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