Purpose
Determines the formatting options for the title to be used when drawing.
Class
Type
Method
Syntax
<oBrowser>:GetTitleOptions() Æ iOptions
Return Value
iOptions | The determined formatting options. A combination from the following values can be returned: |
Option |
Description |
BVO_AUTO |
No specific options are defined. |
BVO_ASPECTRATIO |
In combination with the option BVO_STRETCHIMAGE the aspect ratios of a bitmap become retain. This can mean that the bitmap is not adjusted to the whole size of the draw area. |
BVO_END_ELLIPSIS |
If the value cannot be displayed completely, then the value will be truncated and ellipsis are be added.
The option can not be combined with: •BVO_RTF |
BVO_LINEBREAK |
If the value contains line break characters (CRLF), then the value is broken at these.
The option can not be combined with: •BVO_RTF |
BVO_RTF |
The value is displayed as RTF text.
The option can not be combined with: •BVO_END_ELLIPSIS •BVO_LINEBREAK |
BVO_STRETCHIMAGE |
If the value is a bitmap, then the size of the bitmap is adjusted to the size of the draw area. |
BVO_WORDBREAK |
If the value cannot be displayed completely in one line, then the value will be broken at words. |
Data Type: | DWord |
Description
In order to determine the formatting options for the title,
1.it is examined whether a bBrowser:TitleView object is defined and whether in this object the formatting options (see also bViewStyle:Options) are set unequal to BVO_AUTO.
Ü If it is, this formatting options are returned.
2.Ü the formatting options BVO_LINEBREAK+BVO_WORDBREAK are returned.
See Also
bBrowser:GetTitleAlphaBlendRatio()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_gettitleoptions.htm