[]
Override this method to calculate the height of object on basis of its content, this method is called when height of object specified as auto, for example:
obj.Height = Unit.Auto;
protected virtual void GetContentAutoHeight(double width, ref double height)
Type | Name | Description |
---|---|---|
double | width | Width of area of contents of object. |
double | height | Height of area of contents of object, value must be specified in the "Document.ResolvedUnit" units. |