How to set position in draft document?

Creator
Creator

Hello!

 

I am faced with the following problem - how to set positions in the draft document. What does it mean? Look at the picture:

Снимок.PNG

I want to fill value in the circle by its values, which have my program. So, which methods or classes can I use to edit this object?

 

 

2 REPLIES

Re: How to set position in draft document?

Phenom
Phenom

What you have highlighted is either a Balloon or Leader object.

You can use the SE Spy for this.

 

Dim oBalloons As Balloon = oSheet.Balloons

 

To set the position use:

oBalloon.SetKeyPoint(x, y, z) or soem method like that. I am worling from memory so not sure about this.

 

To set the text, use:

 

oBalloon.BalloonText = "Ballon Text Here"

 

Hope that was useful.

 

BR,

Tushar Suradkar

 

Re: How to set position in draft document?

Creator
Creator

Thank you!