codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Attribute 对象

属性,文字字符串形式的对象,描述属性参照的特性。(2006修改)

VBA 类名:

AcadAttribute 

创建方法

ModelSpace.AddAttribute
PaperSpace.AddAttribute
Block.AddAttribute 

访问途径

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item 

在 AutoCAD 中,该对象被称为属性定义。

要创建属性(或属性定义),使用 AddAttribute 方法。要编辑或查询属性,使用以下方法或属性:

方法

ArrayPolar

ArrayRectangular

Copy

Delete

GetBoundingBox

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Rotate

Rotate3D

ScaleEntity

SetXData

TransformBy

Update  

属性

Application

Alignment

Backward

Constant

Document

FieldLength

Handle

HasExtensionDictionary

Height

HorizontalAlignment

Hyperlinks

InsertionPoint

Invisible

Layer

Linetype

LinetypeScale

Lineweight

LockPosition

Mode

Normal

ObjectID

ObjectName

ObliqueAngle

OwnerID

Preset

PlotStyleName

PromptString

Rotation

ScaleFactor

StyleName

TagString

TextAlignmentPoint

TextGenerationFlag

TextString

Thickness

TrueColor

UpsideDown

Verify

VerticalAlignment

Visible  

事件

Modified  

说明

该对象在 2006 版本中不再支持 HorizontalAlignment VerticalAlignment 属性,直接使用 Alignment 属性可对齐文字

该对象在 2006 版本中支持 LockPosition 属性。