Retrieves the static text's width in Layout Manager Units.
FUNCTION GetComponentTextWidth(
nDialogID : LONGINT;
nComponentID : LONGINT;
VAR nWidthInLMUnits : INTEGER): BOOLEAN;def vs.GetComponentTextWidth(nDialogID, nComponentID):
return (BOOLEAN, nWidthInLMUnits)| Name | Type | Description |
|---|---|---|
| nDialogID | LONGINT | |
| nComponentID | LONGINT | |
| nWidthInLMUnits | INTEGER |
Availability: from VectorWorks13.0