Report question

Question: how to calculate the textbock height and width in on load if i create textblock from code?