Platform SDK: International Features |
The ScriptString_pSize function returns a pointer to a SIZE structure for an analyzed string.
const SIZE* WINAPI ScriptString_pSize( SCRIPT_STRING_ANALYSIS ssa );
If the function is successful, it returns a pointer to the size (width and height) of an analyzed string.
If the function fails, it returns NULL. And if any other unrecoverable error is encountered, it is also returned as HRESULT. For example, error returns from Win32 API functions are converted to HRESULT using the HRESULT_FROM_WIN32 macro and returned to the client in the HRESULT.
The SIZE pointer remains valid only until the associated ssa is passed to ScriptStringFree.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Usp10.h.
Library: Use Usp10.lib.
Uniscribe Overview, Uniscribe Functions, ScriptStringFree, SCRIPT_STRING_ANALYSIS, SIZE