Description

Determines the size of the rectangle with a text.

Note: This is a Windows only function.

Parameters

ParameterDescription
<object>Any object or null
<value>An @FM-delimited array:
 
Value
<1> Any text lines (delimited by \0D0A\
<2> Refer to SDK DrawText() (Format parameter)
<3> Width of rectangle for DT_WORDBREAK flag set (only if object doesn't exist)
<4> LOGFONT structure (SVM-delimited) (only if object doesn't exist)
returnvalue<1> Width of rectangle to fit the text.
 <2> Height of rectangle to fit the text.

Remarks

Uses DrawText function. For more information, refer to the Windows SDK manual.

See Also

Name
BEEP Service
CHOOSECOLOR Service
CHOOSEDIR Service
CHOOSEFILE Service
CHOOSEFONT Service
COPYFILE Service
CREATE Service
CURSOR Service
DESTROY Service
FLUSH Service
GET_EVENT Service
GETLOGICALDRIVES Service
MAKEDIR Service
OBJECTID Service
OBJECTLIST Service
PRINTSETUP Service
REMOVEDIR Service
RENAMEDIR Service
RENAMEFILE Service
RUNHELP Service
RUNWIN Service
WINCOUNT Service
HANDLE_BY_CURSOR Service
IUNKNOWN_RELEASE Service
LOAD_PICTURE Service
OBJECT_BY_CURSOR Service
PICTURE_PROPS Service