JVCL Help:TJvNavPaneBackgroundImage.Proportional

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates whether the image should be changed, without distortion, so that it fits the bounds of the control.


Pascal

 propertyProportional: Boolean;


Description

Set Proportional to True to ensure that the image can be fully displayed in the control without any distortion such as occurs with the Stretch property. When Proportional is True, images that are too large to fit in the image control are scaled down (while maintaining the same aspect ratio) until they fit in the control. Images that are too small are displayed normally. That is, Proportional can reduce the magnification of the image, but does not increase it.
When the control resizes, the image resizes also.
To resize the image so that it fits exactly in the control, even if that causes distortion, use the Stretch property instead.
The default value for Proportional is False.


See Also

TJvNavPaneBackgroundImage.Picture, TJvNavPaneBackgroundImage.Stretch, TJvNavPaneBackgroundImage.Tile, TJvNavPaneBackgroundImage.Transparent


About

Notes

Proportional has no effect if the Picture property contains an icon or if the Tile property is True.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page