Description

Return a point where to attach a label if any.

Return Type

None  

Syntax

object.GetLabelAnchor x, y, ToRight, ToBottom

The GetLabelAnchor Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObjServer.
xRequired. A Single value.

x image coordinate of the label anchor.

yRequired. A Single value.

y image coordinate of the label anchor.

ToRightRequired. A Boolean value.

Set to True to place the label on the right.

ToBottomRequired. A Boolean value.

Set to True to place the label below the object.

Remarks

This method is called for objects which contain a label, and is used together with the McGraphObj.GetLabelOffset method (offset is relative to the point anchor provided here) to place the label.