Cancel
Showing results for 
Search instead for 
Did you mean: 

How to get ballon text "bounding box"

Experimenter
Experimenter

Hello,

 

is it possible to get the "bounding box" lower left and top right corner of an Balloon Object?

Tried with

keyPointCount = objBalloon.KeyPointCount
For i = 1 To keyPointCount
objBalloon.GetKeyPoint(i, x, y, z, KeyPointType, HandleType)
Next

But I get only the point used for adding the ballon.

I can get the font Height, but not the font width to calculate the text width

w = FontWidth * objBalloon.BalloonText.Length

 

Thanks, in davance, best regards

Massimo