首页/ 接口索引/ Document 文档对象

doc.ReferencePoint

变换参考点。SetPosition / SetSize 时的基准,跟 cdrReferencePoint 枚举走。

签名

doc.ReferencePoint

说明

变换参考点。SetPosition / SetSize 时的基准,跟 cdrReferencePoint 枚举走。

Python 示例(可直接运行)

依赖 pywin32。示例假定 app / doc / page / layer 已就绪。 见「连接与初始化」
Python
# 变换参考点:SetPosition / SetSize 以哪个角或中心为基准
# 5 = 中心(不同版本数值略有差异,改完读一次确认)
doc.ReferencePoint = 5
print("参考点:", doc.ReferencePoint)

关于本类:Document 文档对象

管页、管单位、管保存导出,也是「批量撤销」的开关所在。

同类其他接口