- 精华
- 活跃值
-
- 积分
- 2242
- 违规
-
- 印币
-
- 鲜花值
-
- 在线时间
- 小时
累计签到:399 天 连续签到:1 天
|
发表于 2022-12-9 10:22:14
|
显示全部楼层
Private Sub Cmdb9_Click() '标数字
Dim sr As ShapeRange, sh As Shape, T As Shape
Dim i%, X#, Y#, px#, PY#
'ActiveDocument.Unit = cdrMillimeter
'ActiveDocument.ReferencePoint = cdrCenter
On Error Resume Next
BeginOpt "标数字"
Set sr = ActiveSelectionRange
For i = 1 To sr.Shapes.Count
Set sh = sr.Shapes(i)
sh.GetSize X, Y
Set T = ActiveLayer.CreateArtisticText(sh.CenterX, sh.CenterY, i, , , "微软雅黑", 14)
T.AlignToShape cdrAlignHCenter, sh
T.AlignToShape cdrAlignVCenter, sh
Next i
EndOpt
End Sub |
3
赠人玫瑰,手有余香!如单纯感谢,请送花!凡是以文字形式感谢,即被视为水帖,会扣币处理!
鲜花榜单
-
+1
对你表示感谢!
-
+1
对你表示感谢!
-
+1
对你表示感谢!
|