# IFont::put_Size

Sets the current point size of the font given a CY structure.

HRESULT put_Size(

CY size | //Size of the font
); |

Parameters

size
  [in] New size of the font.

Return Values

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

S_OK
  The font was resized successfully.
E_POINTER
  The value of the size parameter is not valid. For example, it does not contain a usable font size.

See Also

IFont::get_Size