Macro Question - Adjust Topic Width?

steve m. shared this question 21 months ago
Answered

Hi,

I want to change the "preferred width" of all topics in a mindmap by macro.

But obviously the topic object has no property for it.

Where can I find this property?

Thank you in advance.

Steve

Replies (1)

photo
1

As far as I know the topic width is read-only in the API. You can read it with Topic.GetBoundingRect() but cannot write it.

One way you could manage topic widths through the API would be to apply a topic style, which does include the width and height, but you would still need to manually set up the style.

---