BB FlashBack SDK: FBTextBoxProperties

Alignment

Description

Describes the vertical and horizontal alignment of text in the textbox.

Syntax

[C#/C++]
public Long Alignment;

[VB.NET]
Public Property Alignment As Integer

Remarks

Vertical and horizontal alignment is set via setting bits in the value, as follow:

Bit 0

Align to left

Bit 1

Center horizontally

Bit 2

Align to right

Bit 3

Not used

Bit 4

Center vertically

Bit 5

Align to bottom

Other bits are not used.

If bits 4 and 5 are not set, vertical centering is set to the top of the box.
 

See Also

FBTextBoxProperties::FontName  FBTextBoxProperties::FontSize