Vcl.DBCtrls.TDBImage.Center

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Center: Boolean read FCenter write SetCenter default True;

C++

__property bool Center = {read=FCenter, write=SetCenter, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBImage

Description

Determines whether the image is centered in the image control.

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.

See Also