How to get the real size of the StiText in runtime?
Posted: Wed Dec 27, 2017 4:20 pm
Hello.
How to get the real size of the StiText in runtime with the property turned on CanGrow?
public void txtLevel4_DoubleClick(object sender, System.EventArgs e)
{
System.Windows.Forms.MessageBox.Show(txtLevel4.Height.ToString());
}
When the report is running, regardless of whether there is more or less field on the screen, the Height property is always equal to one value ...
How to be?
How to get the real size of the StiText in runtime with the property turned on CanGrow?
public void txtLevel4_DoubleClick(object sender, System.EventArgs e)
{
System.Windows.Forms.MessageBox.Show(txtLevel4.Height.ToString());
}
When the report is running, regardless of whether there is more or less field on the screen, the Height property is always equal to one value ...
How to be?