JVCL Help:IJvDataItemImage.Alignment

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies the position of the image.


Pascal

 propertyAlignment: TAlignment;


Description

Alignment specifies the position of the image with respect to the text. Read Alignment to retrieve the currently used alignment for the image or set Alignment to a new value.
Note that consumers/renderers are not required to use the setting of this property when they render the item. Those that do usually follow these 'rules':

Value Rendering result
taLeftJustify The image is placed to the left of the text, the item is aligned to the left of the control.
taCenter The image is placed above the text, the item is centered horizontally in the control.
taRightJustify The image is placed to the right of the text, the item is aligned to the right of the control.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page