IAcadAttributeReference
TeighaX Interface of an object containing text that links to a block
Supported Platforms: Windows only
                            
Object Inheritance
Members
These members are part of this object:
Methods- GetXData
 
- SetXData
 
- Delete
 
- GetExtensionDictionary
 
- ArrayPolar
 
- ArrayRectangular
 
- Highlight
 
- Copy
 
- Move
 
- Rotate
 
- Rotate3D
 
- Mirror
 
- Mirror3D
 
- ScaleEntity
 
- TransformBy
 
- Update
 
- GetBoundingBox
 
- IntersectWith
 
- UpdateMTextAttribute
 
Properties- Handle
 
- ObjectName
 
- ObjectID
 
- Application
 
- HasExtensionDictionary
 
- OwnerID
 
- Document
 
- TrueColor
 
- Layer
 
- Linetype
 
- LinetypeScale
 
- Visible
 
- PlotStyleName
 
- Lineweight
 
- Hyperlinks
 
- Material
 
- EntityTransparency
 
- Height
 
- InsertionPoint
 
- Normal
 
- ObliqueAngle
 
- Rotation
 
- ScaleFactor
 
- StyleName
 
- TagString
 
- TextAlignmentPoint
 
- TextGenerationFlag
 
- TextString
 
- Thickness
 
- FieldLength
 
- Alignment
 
- UpsideDown
 
- Backward
 
- Invisible
 
- Constant
 
- LockPosition
 
- MTextAttribute
 
- MTextAttributeContent
 
- MTextBoundaryWidth
 
- MTextDrawingDirection
 
 
- GetXData()
 
Void GetXData([in] BSTR AppName, [out] Pointer Type XDataType, [out] Pointer Type XDataValue)
                                                
Returns the extended data (XData) associated with an object.
 
 
- SetXData()
 
Void SetXData([in] VARIANT XDataType, [in] VARIANT XDataValue)
                                                
Sets the extended data (XData) associated with an object.
 
 
- Delete()
 
Void Delete( )
                                                
Deletes a specified object.
 
 
- GetExtensionDictionary()
 
IAcadDictionary* GetExtensionDictionary( )
                                                
Returns the extension dictionary associated with an object.
 
 
- ArrayPolar()
 
VARIANT ArrayPolar([in] Int NumberOfObjects, [in] Double AngleToFill, [in] VARIANT CenterPoint)
                                                
Not implemented. Creates an array of selected objects in a polar pattern.
 
 
- ArrayRectangular()
 
VARIANT ArrayRectangular([in] Int NumberOfRows, [in] Int NumberOfColumns, [in] Int NumberOfLevels, [in] Double DistBetweenRows, [in] Double DistBetweenCols, [in] Double DistBetweenLevels)
                                                
Not implemented. Creates an array of selected objects in a rectangular pattern.
 
 
- Highlight()
 
Void Highlight([in] Boolean HighlightFlag)
                                                
Not implemented. Highlights or removes highlight from an entity.
 
 
- Copy()
 
IDispatch* Copy( )
                                                
Copies a specified entity.
 
 
- Move()
 
Void Move([in] VARIANT FromPoint, [in] VARIANT ToPoint)
                                                
Moves an entity from one point to a second point.
 
 
- Rotate()
 
Void Rotate([in] VARIANT BasePoint, [in] Double RotationAngle)
                                                
Rotates an entity around a point.
 
 
- Rotate3D()
 
Void Rotate3D([in] VARIANT Point1, [in] VARIANT Point2, [in] Double RotationAngle)
                                                
Rotates an entity around a line defined by two points, where the direction of the axis if from the first point to the second point.
 
 
- Mirror()
 
IDispatch* Mirror([in] VARIANT Point1, [in] VARIANT Point2)
                                                
Not implemented. Mirrors an object around a line defined by two points.
 
 
- Mirror3D()
 
IDispatch* Mirror3D([in] VARIANT Point1, [in] VARIANT Point2, [in] VARIANT point3)
                                                
Not implemented. Mirrors an object around a plane defined by three points.
 
 
- ScaleEntity()
 
Void ScaleEntity([in] VARIANT BasePoint, [in] Double ScaleFactor)
                                                
Scales an object with respect to a base point and scale factor.
 
 
- TransformBy()
 
Void TransformBy([in] VARIANT TransformationMatrix)
                                                
Performs the specified transformation on an entity.
 
 
- Update()
 
Void Update( )
                                                
Not implemented. Updates the display of an entity.
 
 
- GetBoundingBox()
 
Void GetBoundingBox([out] Pointer Type MinPoint, [out] Pointer Type MaxPoint)
                                                
Returns the minimum and maximum point of an entity's bounding box.
 
 
- IntersectWith()
 
VARIANT IntersectWith([in] IDispatch* IntersectObject, AcExtendOptionShort option)
                                                
Returns coordinates of intersections with the (input) IntersectObject.
 
 
- UpdateMTextAttribute()
 
Void UpdateMTextAttribute( )
                                                
Updates attribute reference from the multiline mtext and vice versa
 
 
- Handle [ReadOnly]
 
BSTR Handle( )
                                                
Returns the handle of an object.
 
 
- ObjectName [ReadOnly]
 
BSTR ObjectName( )
                                                
Returns the TeighaX class name of an object.
 
 
- ObjectID [ReadOnly]
 
LONG_PTR ObjectID( )
                                                
Returns the object ID of an object.
 
 
- Application [ReadOnly]
 
IDispatch* Application( )
                                                
Returns the Application object.
 
 
- HasExtensionDictionary [ReadOnly]
 
Boolean HasExtensionDictionary( )
                                                
Returns whether an object has an associated extension dictionary.
 
 
- OwnerID [ReadOnly]
 
LONG_PTR OwnerID( )
                                                
Returns the object ID of the parent object.
 
 
- Document [ReadOnly]
 
IDispatch* Document( )
                                                
Returns the drawing to which an object belongs.
 
 
- TrueColor [ReadOnly]
 
IAcadAcCmColor* TrueColor( )
                                                
Specifies or returns the true color of an object.
 
 
- Layer [ReadOnly]
 
BSTR Layer( )
                                                
Specifies or returns the current layer of an object.
 
 
- Linetype [ReadOnly]
 
BSTR Linetype( )
                                                
Specifies or returns the current linetype of an object.
 
 
- LinetypeScale [ReadOnly]
 
ACAD_NOUNITS LinetypeScale( )
                                                
Specifies or returns the linetype scale factor of an object.
 
 
- Visible [ReadOnly]
 
Boolean Visible( )
                                                
Specifies or returns the visibility of an object or the application.
 
 
- PlotStyleName [ReadOnly]
 
BSTR PlotStyleName( )
                                                
Specifies or returns the plot style name of an object.
 
 
- Lineweight [ReadOnly]
 
ACAD_LWEIGHT Lineweight( )
                                                
Specifies or returns the lineweight of an object.
 
 
- Hyperlinks [ReadOnly]
 
IAcadHyperlinks* Hyperlinks( )
                                                
Assigns a hyperlink to an object and displays the hyperlink name and description (if one is specified).
 
 
- Material [ReadOnly]
 
BSTR Material( )
                                                
Specifies or returns the material of an object.
 
 
- EntityTransparency [ReadOnly]
 
BSTR EntityTransparency( )
                                                
Specifies the transparency of the object
 
 
- Height [ReadOnly]
 
Double Height( )
                                                
Specifies or returns the height of an attribute reference.
 
 
- InsertionPoint [ReadOnly]
 
VARIANT InsertionPoint( )
                                                
Specifies or returns the insertion point of attribute reference text.
 
 
- Normal [ReadOnly]
 
VARIANT Normal( )
                                                
Specifies or returns the x, y, and z coordinates of the normal direction vector.
 
 
- ObliqueAngle [ReadOnly]
 
ACAD_ANGLE ObliqueAngle( )
                                                
Specifies or returns the oblique angle of an attribute reference.
 
 
- Rotation [ReadOnly]
 
ACAD_ANGLE Rotation( )
                                                
Specifies or returns the rotation angle of an attribute reference.
 
 
- ScaleFactor [ReadOnly]
 
ACAD_NOUNITS ScaleFactor( )
                                                
Specifies or returns the scale factor of an attribute reference.
 
 
- StyleName [ReadOnly]
 
BSTR StyleName( )
                                                
Specifies or returns the style name of an attribute reference.
 
 
- TagString [ReadOnly]
 
BSTR TagString( )
                                                
Specifies or returns the tag of an attribute reference.
 
 
- TextAlignmentPoint [ReadOnly]
 
VARIANT TextAlignmentPoint( )
                                                
Specifies or returns the x, y, z alignment point of an attribute reference.
 
 
- TextGenerationFlag [ReadOnly]
 
Integer TextGenerationFlag( )
                                                
Specifies or returns the text generation flag of an attribute reference.
 
 
- TextString [ReadOnly]
 
BSTR TextString( )
                                                
Specifies or returns the text of an attribute reference.
 
 
- Thickness [ReadOnly]
 
Double Thickness( )
                                                
Specifies or returns the thickness (z-direction value) of an attribute reference.
 
 
- FieldLength [ReadOnly]
 
Integer FieldLength( )
                                                
Specifies or returns the field length of an attribute reference.
 
 
- Alignment [ReadOnly]
 
AcAlignment Alignment( )
                                                
Specifies or returns the horizontal and vertical alignment of an attribute reference.
 
 
- UpsideDown [ReadOnly]
 
Boolean UpsideDown( )
                                                
Specifies or returns whether the text of an attribute reference is upside down.
 
 
- Backward [ReadOnly]
 
Boolean Backward( )
                                                
Specifies or returns whether the text of an attribute reference is backward.
 
 
- Invisible [ReadOnly]
 
Boolean Invisible( )
                                                
Specifies or returns the invisible mode of an attribute reference.
 
 
- Constant [ReadOnly]
 
Boolean Constant( )
                                                
Returns the constant mode of an attribute reference.
 
 
- LockPosition [ReadOnly]
 
Boolean LockPosition( )
                                                
Specifies whether the attribute may be moved relative to the geometry in the block
 
 
- MTextAttribute [ReadOnly]
 
Boolean MTextAttribute( )
                                                
Determines whether if the attribute reference is multiline
 
 
- MTextAttributeContent [ReadOnly]
 
BSTR MTextAttributeContent( )
                                                
Gets the multiline attribute reference content
 
 
- MTextBoundaryWidth [ReadOnly]
 
Double MTextBoundaryWidth( )
                                                
Gets the width of text boundary of the Mtext
 
 
- MTextDrawingDirection [ReadOnly]
 
AcDrawingDirection MTextDrawingDirection( )
                                                
Gets the drawing direction of the Mtext