Search
AnchorPattern.GetAnchorPointF Method
See Also
 



Gets information about an anchor point.

 Syntax

VB6  Copy Code

Public Sub GetAnchorPointF( _
    ByVal Index As Long, _
    ByRef x As Single, _
    ByRef y As Single, _
    ByRef incoming As Boolean, _
    ByRef outgoing As Boolean, _
    ByRef mark As EMarkStyle, _
    ByRef Color As Long, _
    ByRef changeArrowStyle As Boolean, _
    ByRef ArrowStyle As EArrowStyle, _
    ByRef SegmentCount As Integer _
)

C++  Copy Code

public:
void GetAnchorPointF (
    int Index,
    float x,
    float y,
    bool incoming,
    bool outgoing,
    EMarkStyle mark,
    unsigned int Color,
    bool changeArrowStyle,
    EArrowStyle ArrowStyle,
    short SegmentCount
)

 Parameters

Index

The index of the anchor point whose attributes you are interested in.

x
The horizontal position of the anchor point; expressed as percent of the width of a node.
y
The vertical position of the anchor point; expressed as percent of the height of a node.
incoming
Specifies whether incoming arrows can connect to this anchor.
outgoing
Specifies whether outgoing arrows can connect to this anchor.
mark
Specifies how the anchor point is marked visually.
Color

Specify the color with which the anchor mark is painted.

changeArrowStyle
Specifies whether there is an arrow style associated with this point.
ArrowStyle

The style of arrows to draw from the specified point.

SegmentCount

The number of segments that arrows drawn from the specified point have.

 Remarks

This method returns the attributes of an anchor point, as they have been set by calls to AddAnchorPointF and SetArrowStyleForPoint.

 See Also