# IFont::get_Size

Retrieves the point size of the font expressed in a 64-bit CY variable. The upper 32-bits of this value contains the integer point size and the lower 32-bits contains the fractional point size.

HRESULT get_Size(

CY* psize | //Pointer to the font size.
); |

Parameters

psize
  [out] Pointer to the caller-allocated variable that receives the size.

Return Values

The method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
  The size was retrieved successfully.
E_POINTER
  The address in psize is not valid. For example, it may be NULL.

See Also

IFont::put_Size