ID3DX10Font::GetTextMetrics method

Retrieve font characteristics.

Syntax

BOOL GetTextMetrics(
  [in] TEXTMETRIC *pTextMetrics
);

Parameters

pTextMetrics [in]

Type: TEXTMETRIC*

Pointer to a TEXTMETRIC structure, which contains font properties. If Unicode is defined, the function returns a TEXTMETRICW structure. Otherwise, the function returns a TEXTMETRICA structure.

Return value

Type: BOOL

Nonzero if the function is successful; otherwise 0.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

ID3DX10Font

D3DX Interfaces