次の方法で共有


ScriptString_pSize (Windows Embedded CE 6.0)

1/6/2010

This function returns a pointer to a SIZE structure for an analyzed string.

Syntax

const SIZE* WINAPI ScriptString_pSize(
  SCRIPT_STRING_ANALYSIS ssa
);

Parameters

Return Value

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.

Remarks

The size returned by ScriptString_pSize is the size before the effect of the justification requested by setting the SSA_FIT flag in ScriptStringAnalyse. The difference between iReqWidth in ScriptStringAnalyse and the size returned by ScriptString_pSize is the effect of justification.

The SIZE pointer remains valid only until the associated ssa is passed to ScriptStringFree.

Requirements

Header usp10.h
Library Uspce.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ScriptStringAnalyse
ScriptStringFree
SCRIPT_STRING_ANALYSIS

Other Resources

Uniscribe Functions
SIZE