Forgot password?

Question: How to calculate the size of the object, whose properties are set to dynamically change (AutoWidth, CanGrow, CanShrink)?


If you call .Height object property (Text1.Height), then the result will be the height of the object in the report template. When report is builded then the height changes.

You should use CalcHeight (Text1.CalcHeight ()) method to determine the height of the object in a prepared report. To calculate the width need also use CalcWidth method.