See Also

RichTextBox Class  | RichTextBox Members  | SelectionHangingIndent  | SelectionIndent

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

SelectionRightIndent Property

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

[Visual Basic]
Public Property SelectionRightIndent As Single
[C#]
public float SelectionRightIndent {get; set;}

Return Type

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

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.rtbActiveReport.SelectionStart = 0; 
    this.rtbActiveReport.SelectionLength = 100; 
    this.rtbActiveReport.SelectionRightIndent = 1; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.rtbActiveReport.SelectionStart = 0
    Me.rtbActiveReport.SelectionLength = 100
    Me.rtbActiveReport.SelectionRightIndent = 0.5
End Sub

See Also

RichTextBox Class  | RichTextBox Members  | SelectionHangingIndent  | SelectionIndent

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.