[]
Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally.
protected override void GetContentAutoSize(out double autoWidth, out double autoHeight)
Protected Overrides Sub GetContentAutoSize(ByRef autoWidth As Double, ByRef autoHeight As Double)
| Type | Name | Description |
|---|---|---|
| double | autoWidth | OUT: The width of area of contents of object in twips. |
| double | autoHeight | OUT: The height of area of contents of object in twips. |