Dim tb As New DataDynamics.ActiveReports.TextBox()
Dim pf As New System.Drawing.PointF
pf.X = 2
pf.Y =3
tb.Width = 3
tb.Height = 3
tb.Text = “text1”
Me.Sections("ageHeader").Controls.Add(tb)
用这种方法增加的控件,x,y 坐标的单位是什么、?我在form design的里面看到的空间x,y坐标的单位是cm。我在程序里可不可以把System.Drawing.PointF 的坐标单位也设成厘米?
谢谢 |
|