Property HorizontalAlignment As HorizontalAlignment
Sets or returns the horizontal alignment for the attribute. It is set or returned using the HorizontalAlignment constants shown below. The default property is vicHorizontalAlignmentLeft (0).
Syntax
integerVariable = object.HorizontalAlignment
object.HorizontalAlignment = <integer>
where:
integerVariable is a variable (or the constant itself) representing the horizontal alignment value.
object is the entity object for which you set or return the color.
Horizontal Alignment Constant | Index Value |
---|---|
VicHorizontalAlignmentAligned |
3 |
VicHorizontalAlignmentCenter |
1 |
VicHorizontalAlignmentFit |
5 |
VicHorizontalAlignmentLeft |
0 |
VicHorizontalAlignmentMiddle |
4 |
VicHorizontalAlignmentRight |
2 |