[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets a TSize instance with the dimensions for images in the control.
Source position: comctrls.pp line 3558
protected function TCustomTreeView.GetImageSize: TSize; |
TSize instance with the dimensions for images in the control.
GetImageSize is a TSize function used to get the dimensions for images displayed in the tree view control. The return value has Width and Height members with the image dimensions.
When an image list has been assigned to the Images property, its SizeForPPI method is used to scale the value in ImagesWidth to the current display density in Font. When Images has not been assigned, the GetBuiltinIconSize method is called to get the return value.
|
Gets the default size for icons when Images has not been assigned. |
|
|
Image list which holds icons for the tree nodes in Items. |
|
|
Width for the Images used in the tree view control. |
|
|
The font to be used for text display in this control. |
Version 3.2 | Generated 2024-02-25 | Home |