BBjSysGui::getMeasure
Description
In BBj 11.0 and higher, this method returns the width in unscaled pixels of the specified string in the current active or focused window.
Syntax
Return Value |
Method |
---|---|
int |
getMeasure(string text) |
Parameters
Variable |
Description |
---|---|
text |
Text to be measured. |
Return Value
Returns the width in unscaled pixels of the specified text in the current active window. Throws an error if there is no current window.
Remarks
Equivalent to the 'MEASURE' mnemonic.
Example
|
See Also
MEASURE Mnemonic - Measure Text (SYSGUI)
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.