PowerTools ActiveReports for .NET 11.0J
SelectionRightIndent プロパティ
使用例 

RichTextBoxコントロールの右端から、選択されているテキストの右端までの距離(ピクセル単位)。
構文
'宣言
 
Public Property SelectionRightIndent As Single
public float SelectionRightIndent {get; set;}

プロパティ値

現在選択されている内容の右、またはカーソル位置の右に挿入されるインデント幅(ピクセル単位)。

使用例
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
参照

関連項目

RichTextBox クラス
RichTextBox メンバ
SelectionHangingIndent プロパティ
SelectionIndent プロパティ

 

 


©2003-2017 GrapeCity inc. All rights reserved.