RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage.Center Property

Determines whether the image is centered in the image control.

Pascal
property Center: Boolean;
C++
__property Boolean Center;

When the image does not fit perfectly within the image control, use Center to position the image. When Center is true, the image is centered in the control. When Center is false, the upper left corner of the image is positioned at the upper left corner of the control.

Note: Center has no effect if the Stretch property is true.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!