Property ULImage.TULImage.Stretched

From Mitov Wiki Doc
Revision as of 00:25, 22 November 2011 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TULImage

Contents

Syntax

Delphi:

property Stretched : Boolean read FStretched write SetStretched default False;

C++ Builder:

__property bool Stretched = { read=FStretched, write=SetStretched, default=False };

Summary

Indicates whether the image should be changed so that it exactly fits the bounds of the image control.

Description

Set Stretch to true to cause the image to assume the size and shape of the image control. When the image control resizes, the image resizes also. Stretch resizes the height and width of the image independently. Thus, unlike a simple change in magnification, Stretch can distort the image if the image control is not the same shape as the image.


To resize the image without any distortion, set the Proportional property to True.


To resize the control to the image rather than resizing the image to the control, use the AutoSize property instead.


The default value for Stretch is false.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox