IAcadMLeader
TeighaX Multi-Leader Interface
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
- AddLeader
- RemoveLeader
- AddLeaderLine
- AddLeaderLineEx
- RemoveLeaderLine
- SetLeaderLineVertices
- GetLeaderLineVertices
- GetLeaderIndex
- GetLeaderLineIndexes
- GetVertexCount
- GetDoglegDirection
- SetDoglegDirection
- GetBlockAttributeValue
- SetBlockAttributeValue
Properties- Handle
- ObjectName
- ObjectID
- Application
- HasExtensionDictionary
- OwnerID
- Document
- TrueColor
- Layer
- Linetype
- LinetypeScale
- Visible
- PlotStyleName
- Lineweight
- Hyperlinks
- Material
- EntityTransparency
- ScaleFactor
- LeaderType
- LeaderLineColor
- LeaderLineType
- LeaderLineWeight
- ArrowheadType
- ArrowheadSize
- DogLegged
- DoglegLength
- ContentBlockName
- BlockConnectionType
- BlockScale
- TextString
- TextStyleName
- TextJustify
- TextDirection
- TextWidth
- TextHeight
- TextRotation
- TextLineSpacingFactor
- TextLineSpacingDistance
- TextLineSpacingStyle
- TextBackgroundFill
- TextAttachmentDirection
- TextLeftAttachmentType
- TextRightAttachmentType
- TextTopAttachmentType
- TextBottomAttachmentType
- LandingGap
- ArrowheadBlock
- ContentBlockType
- LeaderCount
- ContentType
- TextFrameDisplay
- StyleName
- 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.
- AddLeader()
Int AddLeader( )
Adds a new cluster of leader lines to a multileader.
- RemoveLeader()
Void RemoveLeader([in] Int leaderIndex)
Deletes a cluster of leader lines from a multileader.
- AddLeaderLine()
Int AddLeaderLine([in] Int leaderIndex, [in] VARIANT pointArray)
Adds a leader line to the leader cluster of a multileader.
- AddLeaderLineEx()
Int AddLeaderLineEx([in] VARIANT pointArray)
Adds a new leader line to a multileader using a start vertex for the leader line.
- RemoveLeaderLine()
Void RemoveLeaderLine([in] Int leaderLineIndex)
Deletes a leader line from a multileader.
- SetLeaderLineVertices()
Void SetLeaderLineVertices([in] Int leaderLineIndex, [in] VARIANT pointArray)
Specifies the vertices for a leader line.
- GetLeaderLineVertices()
VARIANT GetLeaderLineVertices([in] Int leaderLineIndex)
Specifies the vertices for a leader line.
- GetLeaderIndex()
Int GetLeaderIndex([in] Int leaderLineIndex)
Returns the index of the leader cluster to which a specified leader line belongs.
- GetLeaderLineIndexes()
VARIANT GetLeaderLineIndexes([in] Int leaderIndex)
Returns the index of a leader line.
- GetVertexCount()
Int GetVertexCount([in] Int leaderLineIndex)
Returns the number of vertices in a leader line of a multileader.
- GetDoglegDirection()
VARIANT GetDoglegDirection([in] Int leaderIndex)
Returns the dog leg direction of a multileader.
- SetDoglegDirection()
Void SetDoglegDirection([in] Int leaderIndex, [in] VARIANT dirVec)
Specifies the dog leg direction of a multileader.
- GetBlockAttributeValue()
BSTR GetBlockAttributeValue(LONG_PTRShort attdefId)
Returns the attribute value of a block.
- SetBlockAttributeValue()
Void SetBlockAttributeValue(LONG_PTRShort attdefId, [in] BSTR Value)
Specifies the attribute value of a block.
- 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
- ScaleFactor [ReadOnly]
Double ScaleFactor( )
Specifies or returns the scale factor of a multileader.
- LeaderType [ReadOnly]
AcMLeaderType LeaderType( )
Specifies or returns the type of multileader.
- LeaderLineColor [ReadOnly]
IAcadAcCmColor* LeaderLineColor( )
Specifies or returns the color of a multileader.
- LeaderLineType [ReadOnly]
ACAD_LTYPE LeaderLineType( )
Specifies or returns the linetype of a multileader.
- LeaderLineWeight [ReadOnly]
ACAD_LWEIGHT LeaderLineWeight( )
Specifies or returns the lineweight of a multileader.
- ArrowheadType [ReadOnly]
AcDimArrowheadType ArrowheadType( )
Specifies or returns the arrowhead type of a multileader.
- ArrowheadSize [ReadOnly]
Double ArrowheadSize( )
Specifies or returns the arrowhead size of a multileader.
- DogLegged [ReadOnly]
Boolean DogLegged( )
Specifies or returns whether a dog leg is used for a multileader.
- DoglegLength [ReadOnly]
Double DoglegLength( )
Specifies or returns the dog leg length of a multileader.
- ContentBlockName [ReadOnly]
BSTR ContentBlockName( )
Specifies or returns the block name of a multileader.
- BlockConnectionType [ReadOnly]
AcBlockConnectionType BlockConnectionType( )
Specifies or returns how a block connects with lines of a multileader.
- BlockScale [ReadOnly]
ACAD_NOUNITS BlockScale( )
Specify how leaders connect with content block
- TextString [ReadOnly]
BSTR TextString( )
Specifies or returns the text string of a multileader.
- TextStyleName [ReadOnly]
BSTR TextStyleName( )
Specifies or returns the style for text of a multileader.
- TextJustify [ReadOnly]
AcAttachmentPoint TextJustify( )
Specifies or returns the attachment point for text of a multileader.
- TextDirection [ReadOnly]
AcDrawingDirection TextDirection( )
Specifies or returns the text direction for text of a multileader.
- TextWidth [ReadOnly]
Double TextWidth( )
Specifies or returns text width for text of a multileader.
- TextHeight [ReadOnly]
Double TextHeight( )
Specifies or returns text height for text of a multileader.
- TextRotation [ReadOnly]
ACAD_ANGLE TextRotation( )
Specifies or returns the rotation for text of a multileader.
- TextLineSpacingFactor [ReadOnly]
Double TextLineSpacingFactor( )
Specifies or returns the line spacing factor for text of a multileader.
- TextLineSpacingDistance [ReadOnly]
Double TextLineSpacingDistance( )
Specifies or returns the line spacing distance for text of a multileader.
- TextLineSpacingStyle [ReadOnly]
AcLineSpacingStyle TextLineSpacingStyle( )
Specifies or returns the line spacing style for text of a multileader.
- TextBackgroundFill [ReadOnly]
Boolean TextBackgroundFill( )
Specifies or returns whether a background is used used for text of a multileader.
- TextAttachmentDirection [ReadOnly]
AcTextAttachmentDirection TextAttachmentDirection( )
Specifies if leaders connect with the text horizontally or vertically
- TextLeftAttachmentType [ReadOnly]
AcTextAttachmentType TextLeftAttachmentType( )
Specifies or returns how leaders on the left connect with text of a multileader.
- TextRightAttachmentType [ReadOnly]
AcTextAttachmentType TextRightAttachmentType( )
Specifies or returns how leaders on the right connect with text of a multileader.
- TextTopAttachmentType [ReadOnly]
AcVerticalTextAttachmentType TextTopAttachmentType( )
Specifies how leaders on the top connect with the text
- TextBottomAttachmentType [ReadOnly]
AcVerticalTextAttachmentType TextBottomAttachmentType( )
Specifies how leaders on the bottom connect with the text
- LandingGap [ReadOnly]
Double LandingGap( )
Specify or returns the landing gap for text of a multileader.
- ArrowheadBlock [ReadOnly]
BSTR ArrowheadBlock( )
Specifies or returns the block to use as the custom arrowhead of a multileader.
- ContentBlockType [ReadOnly]
AcPredefBlockType ContentBlockType( )
Specifies or returns the type of block used as the custom arrowhead of a multileader.
- LeaderCount [ReadOnly]
Int LeaderCount( )
Returns the number of leader lines for a multileader.
- ContentType
Void ContentType( )
Specifies or returns the content type of a multileader.
- TextFrameDisplay [ReadOnly]
Boolean TextFrameDisplay( )
Specifies or returns whether a text frame displays for a multileader.
- StyleName [ReadOnly]
BSTR StyleName( )
Specifies or returns the style name of a multileader.