ActiveReports 9
SelectionRightIndent Property
Example 

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 System.Single
public System.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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum