乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 69|回复: 4

[求助]AcDbText::Position()与AlignmentPoint()区别

[复制链接]

4

主题

9

帖子

1

银币

初来乍到

Rank: 1

铜币
25
发表于 2008-10-25 15:36:00 | 显示全部楼层 |阅读模式
请教
AcDbText::setPosition()与AcDbText::setAlignmentPoint()区别?
以及Position()与AlignmentPoint()区别?
非常感谢
回复

使用道具 举报

1

主题

87

帖子

2

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
91
发表于 2008-10-25 21:10:00 | 显示全部楼层
一个是位置点,一个是对齐点,对齐方式为左对齐时两点重合
If vertical mode is AcDb::kTextBase and horizontal mode is either AcDb::kTextLeft, AcDb::kTextAlign, or AcDb::kTextFit, then the position point is the insertion point for the text object and, for AcDb::kTextLeft, the alignment point (DXF group code 11) is automatically calculated based on the other parameters in the text object.
For all other vertical and horizontal mode combinations, the alignment point is used as the insertion point of the text and the position point is automatically calculated based on the other parameters in the text object
回复

使用道具 举报

4

主题

9

帖子

1

银币

初来乍到

Rank: 1

铜币
25
发表于 2008-10-25 23:41:00 | 显示全部楼层
还是不是很明白
回复

使用道具 举报

1

主题

87

帖子

2

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
91
发表于 2008-10-25 23:59:00 | 显示全部楼层
CAD里面做一个文字对象,然后OPM中修改其对齐方式,看文字的位置变化及夹点情况
回复

使用道具 举报

4

主题

9

帖子

1

银币

初来乍到

Rank: 1

铜币
25
发表于 2008-10-27 17:34:00 | 显示全部楼层
OPM什么啊?
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-2-6 03:58 , Processed in 0.435599 second(s), 62 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表