Skip to main content
All docs
V26.1
  • PrintLayoutViewSettingsBuilder.ShowHorizontalRuler(Boolean) Method

    Specifies whether the horizontal ruler is shown.

    Namespace: DevExpress.AspNetCore.RichEdit

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

    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