NShape TextBlock Desired Width and Height is 0


https://www.nevron.com/Forum/Topic14514.aspx
Print Topic | Close Window

By Jan Cruz - 2 Months Ago
Hi Nevron Support,

I would like to ask why does the Desired Width and Height of my NTextBlock was set to 0?
How do I properly get the actual desired width and height of the NTextBlock with reference to the Text data.

I feel like I am missing something here.
I have attached below the snippet of my implementation:

Current NOV Version used is 22.2.15.12

Kindly advise if you know the issue.
Thank you very much!
By Nevron Support - 2 Months Ago
Hi Jan,

When do you inspect the desired width and height of the text block? Maybe it hasn't been calculated, yet.

Please tell us what is your goal and we will advise you how to implement it.