PowerTools ActiveReports for .NET 9.0J
Location プロパティ (ARControl)
使用例 

コントロールの位置を取得または設定します(インチ単位)。
構文
'宣言
 
Public Overridable Property Location As PointF
public virtual PointF Location {get; set;}

プロパティ値

XおよびY浮動小数点値または単精度浮動小数点値(インチ単位)で定義したSystem.Drawing.PointF。
解説

注意: セクションのサイズは、必ずコントロールの位置を含む大きさでなければなりません。そうでなければ、そのコントロールは見えない位置に配置されることになります。

使用例
private void detail_Format(object sender, System.EventArgs eArgs)
{
    System.Drawing.PointF p = new System.Drawing.PointF();
    p.X = 0.5f;
    p.Y = 0.5f;
    this.textBox1.Location = p;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Dim p As System.Drawing.PointF
    p.X = 0.5
    p.Y = 0.5
    Me.TextBox1.Location = p
End Sub
参照

関連項目

ARControl クラス
ARControl メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.