Purpose
Determines which alignment to use for the title when drawing.
Class
Type
Method
Syntax
<oBrowser>:GetTitleAlignment() Æ iAlignment
Return Value
iAlignment | The determined alignment. A combination of the following values can be returned: |
Constant |
Description |
BALIGN_AUTO |
The default values for horizontal and vertical alignment are used. |
BALIGN_LEFT |
Left justified alignment. |
BALIGN_RIGHT |
Right justified alignment. |
BALIGN_CENTER |
Horizontal centered alignment. |
BALIGN_TOP |
Top justified alignment. |
BALIGN_BOTTOM |
Bottom justified alignment. |
BALIGN_VCENTER |
Vertical centered alignment. |
Data Type: | Integer |
Description
In order to determine the alignment for the title,
1.it is examined whether a bBrowser:TitleView object is defined and whether in this object an alignment (see also bViewStyle:Alignment) is set unequal to BALIGN_AUTO.
Ü If it is, this alignment is returned.
2.Ü the value BALIGN_CENTER is returned for horizontal alignment and the value BALIGN_VCENTER for vertical alignment.
See Also
bBrowser:GetTitleAlphaBlendRatio()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_gettitlealignment.htm