ActiveReports Developer 7
SelectionRightIndent Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > RichTextBox Class : SelectionRightIndent Property

Glossary Item Box

The distance (in inches) between the right edge of the RichTextBox control and the right edge of the text that is selected.

Syntax

Visual Basic (Declaration) 
Public Property SelectionRightIndent As System.Single
C# 
public System.float SelectionRightIndent {get; set;}

Property Value

The indentation space, in inches, at the right of the current selection or insertion point.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.rtbActiveReport.SelectionStart = 0;
    this.rtbActiveReport.SelectionLength = 100;
    this.rtbActiveReport.SelectionRightIndent = 1;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.rtbActiveReport.SelectionStart = 0
    Me.rtbActiveReport.SelectionLength = 100
    Me.rtbActiveReport.SelectionRightIndent = 0.5
End Sub

See Also

Reference

RichTextBox Class
RichTextBox Members
ActiveReports6~GrapeCity.ActiveReports.RichTextBox~SelectionHangingIndent
ActiveReports6~GrapeCity.ActiveReports.RichTextBox~SelectionIndent