![]() |
![]() ![]() ![]() |
acProportionalImage property.
|
type
|
TacImageAlignment = (iaCenter, iaLeft, iaTop, iaRight, iaBottom, iaTopLeft, iaTopRight, iaBottomLeft, iaBottomRight);
|
|
property Alignment: TacImageAlignment;
|
The Alignment property controls how the image should be aligned within control (if it's not stretched).
|
|
There are possible values for Alignment property of acProportionalImage component:
|
Values | Meanings
|
iaCenter | aligns the image by center of control;
|
iaLeft | puts the image to the left side of control and aligns it by center vertically;
|
iaTop | puts the image to the top side of control and aligns it by center horizontally;
|
iaRight | puts the image to the right side of control and aligns it by center vertically;
|
iaBottom | puts the image to the bottom side of control and aligns it by center horizontally;
|
iaTopLeft | puts the image to top-left corner of control;
|
iaTopRight | puts the image to top-right corner of control;
|
iaBottomLeft | puts the image to bottom-left corner of control;
|
iaBottomRight | puts the image to bottom-right corner of control.
|
DrawRect property.
|