ActiveReports 14 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / RichTextBox Class / SelectionRightIndent Property
Example

In This Topic
    SelectionRightIndent Property
    In This Topic
    The distance (in inches) between the right edge of the RichTextBox control and the right edge of the text that is selected.
    Syntax
    'Declaration
     
    Public Property SelectionRightIndent As Single
    public float SelectionRightIndent {get; set;}

    Property Value

    The indentation space, in inches, at the right of the current selection or insertion point.
    Example
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.rtbActiveReport.SelectionStart = 0;
        this.rtbActiveReport.SelectionLength = 100;
        this.rtbActiveReport.SelectionRightIndent = 1;
    }
    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