New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.RichTextEditor.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IDocumentRulerController

Derived Classes: RadRichTextBoxRulerController

Methods

C#
void AddTabStop(TabStopInfo tabStop)
Parameters:tabStopTabStopInfo
C#
void ChangeTabStopPosition(TabStopInfo tabStop, double offset)
Parameters:tabStopTabStopInfooffsetdouble
C#
IEnumerable<double> GetDefaultTabStopsByWidth(double width)
Parameters:widthdoubleReturns:

IEnumerable<double>

C#
FlowDirection GetFlowDirection()
Returns:

FlowDirection

C#
IEnumerable<SeparatorInfo> GetHorizontalSeparators()
Returns:

IEnumerable<SeparatorInfo>

C#
void GetIndents(out FlowDirection textFlowDirection, out SeparatorInfo leftSeparator, out SeparatorInfo rightSeparator, out double firstLineIndent, out double hangingIndent, out double rightIndent, out double columnLeftOffset, out double columnRightOffset)
Parameters:textFlowDirectionFlowDirectionleftSeparatorSeparatorInforightSeparatorSeparatorInfofirstLineIndentdoublehangingIndentdoublerightIndentdoublecolumnLeftOffsetdoublecolumnRightOffsetdouble
C#
FlowDirection GetMarkersFlowDirection()
Returns:

FlowDirection

C#
Rect GetPageSizeAndPosition()
Returns:

Rect

C#
Size GetScaleFactor()
Returns:

Size

C#
IEnumerable<TabStopInfo> GetTabStops()
Returns:

IEnumerable<TabStopInfo>

C#
IEnumerable<SeparatorInfo> GetVerticalSeparators()
Returns:

IEnumerable<SeparatorInfo>

C#
bool IsValidColumnSeparatorChange(SeparatorInfo separatorInfo, double currentPosition, double horizontalChange)
Parameters:separatorInfoSeparatorInfocurrentPositiondoublehorizontalChangedoubleReturns:

bool

C#
void RemoveTabStop(TabStopInfo tabStop)
Parameters:tabStopTabStopInfo
C#
void SetSeparatorFirstLineIndent(double indent)
Parameters:indentdouble
C#
void SetSeparatorFirstLineIndentAndHangingIndent(double firstLineIndent, double hangingIndent)
Parameters:firstLineIndentdoublehangingIndentdouble
C#
void SetSeparatorHangingIndent(double indent)
Parameters:indentdouble
C#
void SetSeparatorOffset(SeparatorInfo separator, double offset)
Parameters:separatorSeparatorInfooffsetdouble
C#
void SetSeparatorRightIndent(double indent)
Parameters:indentdouble

Events

C#
event EventHandler<EventArgs> PageChanged
C#
event EventHandler<EventArgs> SeparatorsChanged