InsertionPoint 属性

指定公差、文字、块或形的插入点。

参阅 | 示例

语法

object.InsertionPoint

object

Attribute, AttributeReference, BlockRef, ExternalReference, MInsertBlock, MText, Shape, Text, Tolerance
使用该属性的对象。

InsertionPoint

Variant[变体] (三元素双精度数组); 可读写
代表插入点的三维 WCS 坐标。

说明

MText: 指定文字边框的角落位置。使用 AttachmentPoint 属性指定文字边框的哪个角落为插入点的位置。

Text: 除了 Alignment 属性设置为 acAlignmentLeft, acAlignmentAligned, 或 acAlignmentFit 以外,该属性为只读。要放置对齐方式为左、两侧对齐或调整对齐以外的文字,可使用 TextAlignmentPoint 属性。