WebImageView.AlignHorizontal
From Xojo Documentation
Property (As Integer )
aWebImageView.AlignHorizontal = newIntegerValue
or
IntegerValue = aWebImageView.AlignHorizontal
New in 2010r4
Supported for all project types and targets.
or
IntegerValue = aWebImageView.AlignHorizontal
New in 2010r4
Supported for all project types and targets.
Controls the horizontal alignment of the picture based on the class constant passed. Use the class constants in the table below.
Notes
Class Constants for AlignVertical and AlignHorizontal
Class Constant | Description |
---|---|
AlignDefault | Default alignment is AlignCenter |
AlignLeft | Left aligned |
AlignCenter | Centered horizontally |
AlignRight | Right aligned |
Use this in conjunction with AlignVertical to position the picture within the control.
Example
In the Shown event handler, aligns the picture to the right:
Me.AlignHorizontal = WebImageView.AlignRight