Hi,
I am using the TextArea in a manner such as below:
var headingText = new TextArea(HeadingText, marginX, marginY, page.Dimensions.Width - marginX, 10, HeadingTextFont, HeadingTextPoints, HeadingTextColor);
In the parameter list, I have a “10” value hard coded in for the “float height” parameter. The problem is, I need the value to be dynamic based on the height that is produced by the text itself, not a predefined height. Because if the text is very short, it creates an unwanted gap. How can I do this ?
Thanks
Jim