JVCL Help:TJvMarkupLabel.Alignment

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

Search in JVCL Help

 
Search in all projects
 

Summary

Horizontal alignment of values rendered for the control.


Pascal

 propertyAlignment: TAlignment;


Description

Alignment is a TAlignment property used to control horizontal alignment of the the values rendered for the control.
Alignment is used when rendering HTML markup found in the Text property in the Paint method. Alignment can contain one of the following values:

Value Meaning
taLeftJustify Text is rendered aligned to the left-hand margin (MarginLeft).
taRightJustify Text is rendered aligned to the right-hand margin (MarginRight).
taCenter Text is rendered center-aligned using the width of the rendered text relative to the left- and right-hand margins.


The default value for Alignment is taLeftJustify.
Changing the value in the Alignment property causes the control to be redrawn.


See Also

TJvMarkupLabel.Text, TJvMarkupLabel.Paint


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