PictureAlignment Property

Applies to:  Panel control, HotButton control
See also:  TextAlignment propertyProperty Index

Determines where in the control, the picture will be displayed.

Read/write at both design-time and run-time.

Type:

PictureAlignmentConstants

Settings:

Value Meaning
paCenter (default) The picture will be displayed in the center of the control, with the text superimposed.
paLeft The picture will be displayed on the left of the control, with the text to the right.
paRight The picture will be displayed on the right of the control, with text to the left.
paTop The picture will be displayed at the top of the control, with text beneath.
paBottom The picture will be displayed at the bottom of the control, with text above.

Remarks:

The PictureAlignment property has no effect, if the Picture property is not set.

Example:

Flat Demo 2

 

 

Home

Copyright and Disclaimer