Creates a Label item, which has a line pointing to a labelled location. Label text is similar to box text, as it is created in real world units, and when printed maintains its actual proportions to the surrounding graphics. This method respects the axes angle setting. This means that the x, y and z values are interpreted within the aces and all new items created will align to the axes angle.
Visual Basic |
---|
Public Function CreateBoxLabel( _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal z1 As Double, _ ByVal h As Double, _ ByVal text As String, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal z2 As Double _ ) As Integer |
If a Group is open, then graphics are added to the Group, otherwise a new Item is created.
Available: GEO MD MM ME OD OM SISpy
Group:
sis.CreateBoxLabel (10, 10, 0, 3, "Box Label Text", 20, 20, 0)
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).