ActiveReports3 Request technical support
SelectionRightIndent Property
See Also  Example


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 Single
Visual Basic (Usage)Copy Code
Dim instance As RichTextBox
Dim value As Single
 
instance.SelectionRightIndent = value
 
value = instance.SelectionRightIndent
C# 
public float SelectionRightIndent {get; set;}

Return 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