|
|
|
|
|
FolderModeImage (Property) In french: ImageModeDossier
The FolderModeImage property gets and sets the display mode of the folder image in TreeView and TreeView Table controls. TVT_MyTreeViewTable.FolderImageWidth = 50 TVT_MyTreeViewTable.FolderModeImage = imgHWIS
Syntax
Getting the display mode of the folder image Hide the details
<Current mode> = <Control used>..FolderModeImage
<Current mode>: Integer constant - Current image display mode:
| | imgCentered | Centered: Image centered in the control.
| imgH | Homothetic: The image stretches or shrinks while maintaining its aspect ratio to fit the control.
| imgHC | Homothetic centered: The image stretches or shrinks while maintaining its aspect ratio to be centered and fit the control.
| imgHCE | Homothetic centered extended: Image enlarged or reduced (while respecting the proportions of the initial image) in order for the smaller side of the image to be entirely displayed in the control and in order for the image to be centered in the control.
| imgHCWIS | Homothetic without enlargement: If the full image fits the control, it is displayed at its original size (100%) and centered in the control. Otherwise, it is downsized, while maintaining its aspect ratio to fit and appear centered in the control. | imgHE | Homothetic extended: The image stretches or shrinks while maintaining its aspect ratio so that the smaller side of the image fits the control.
| imgHQ | In homothetic mode, used to improve the quality of image when this one is reduced in relation to its initial size. This constant must be combined with the other constants. | imgHWIS | Homothetic without enlargement: If the full image fits the control, it is displayed at its original size (100%). Otherwise, it is downsized, while maintaining its aspect ratio to fit the control. | imgNormal | 100%: The image is displayed at its original size (100%) in the upper-left corner of the control.
| imgNoScale | Allows you not to zoom the image in "Large fonts" mode. This constant must be combined with one of the constants used to define the display mode of image. | imgStretched | Stretched: The image stretches to fill the control.
| imgTiled | Tiled: The image is repeated while maintaining its original size (100%) to fit the control (tile design).
|
<Control used>: Control name Name of control to use:- TreeView control,
- TreeView Table control.
Modifying the display mode of the image corresponding to the folder Hide the details
<Control used>..FolderModeImage = <New mode>
<Control used>: Control name Name of control to use:- TreeView control,
- TreeView Table control.
<New mode>: Integer constant - New display mode for the image:
| | imgCentered | Centered: Image centered in the control.
| imgH | Homothetic: The image stretches or shrinks while maintaining its aspect ratio to fit the control.
| imgHC | Homothetic centered: The image stretches or shrinks while maintaining its aspect ratio to be centered and fit the control.
| imgHCE | Homothetic centered extended: Image enlarged or reduced (while respecting the proportions of the initial image) in order for the smaller side of the image to be entirely displayed in the control and in order for the image to be centered in the control.
| imgHCWIS | Homothetic without enlargement: If the full image fits the control, it is displayed at its original size (100%) and centered in the control. Otherwise, it is downsized, while maintaining its aspect ratio to fit and appear centered in the control. | imgHE | Homothetic extended: The image stretches or shrinks while maintaining its aspect ratio so that the smaller side of the image fits the control.
| imgHQ | In homothetic mode, used to improve the quality of image when this one is reduced in relation to its initial size. This constant must be combined with the other constants. | imgHWIS | Homothetic without enlargement: If the full image fits the control, it is displayed at its original size (100%). Otherwise, it is downsized, while maintaining its aspect ratio to fit the control. | imgNormal | 100%: The image is displayed at its original size (100%) in the upper-left corner of the control.
| imgNoScale | Allows you not to zoom the image in "Large fonts" mode. This constant must be combined with one of the constants used to define the display mode of image. | imgStretched | Stretched: The image stretches to fill the control.
| imgTiled | Tiled: The image is repeated while maintaining its original size (100%) to fit the control (tile design).
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|