This property sets the display mode when images are displayed in the ImageKit Control
[C++Builder] imagekitcontrolname->DisplayMode[=
TVIkDispMode ]
[Delphi] imagekitcontrolname.DisplayMode[=
TVIkDispMode ]
[TVIkDispMode Type]
Unit
IkInit
type
TVIkDispMode = (vikClear, vikScale,
vikStretch, vikActualSize, vikFitToWidth, vikFitToHeight);
Property Value
Value | Explanation |
---|---|
vikClear | Clear |
vikScale | Scale (When the image is larger than the ImageKit Control, the image is scaled to fit within the ImageKit Control.) |
vikStretch | Stretch (The image is stretched to fit the dimensions of the ImageKit Control.) |
vikActualSize | Actual Size (The image is displayed in according to the values of the DispScaleX and DispScaleY properties.) |
vikFitToWidth | FitToWidth (The image is scaled so that the width of the image matches the value of the ImageKit Control's Width property.) |
vikFitToHeight | FitToHeight (The image is scaled so that the height of the image matches the value of the ImageKit Control's Height property.) |
Explanation
The DisplayMode property sets the display mode when images are displayed in the ImageKit Control.
Setting this value
This value can be set at run-time.
Retrieving this value
This value can be retrieved at run-time.
Differences from ImageKit 8/9/10 ActiveX
The VCL constants have a "v". In ActiveX, the constants are ikClear, ikScale, ikStretch, ikActualSize, ikFitToWidth, ikFitToHeight