GrapeCity.ActiveReports.v9 アセンブリ > GrapeCity.ActiveReports.SectionReportModel 名前空間 > RichTextBox クラス : SelectionCharOffset プロパティ |
文字オフセットを指定する数値。
private void detail_Format(object sender, System.EventArgs eArgs) { if (this.rtbActiveReport.Find("footnote") != -1) { this.rtbActiveReport.SelectionStart = this.rtbActiveReport.Find("footnote"); this.rtbActiveReport.SelectionLength = 11; this.rtbActiveReport.SelectionCharOffset = .05f; } }
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format If Not Me.rtbActiveReport.Find("footnote") = -1 Then Me.rtbActiveReport.SelectionStart = Me.rtbActiveReport.Find("footnote") Me.rtbActiveReport.SelectionLength = 11 Me.rtbActiveReport.SelectionCharOffset = 0.05 End If End Sub