# IFont::get_Charset

Returns the character set used in the font. The character set can be any of those defined for Windows fonts.

HRESULT get_Charset(

short* pcharset | //Pointer to the character set
); |

Parameters

pcharset
  [out] Pointer to the caller-allocated short variable that receives the character set value.

Return Values

S_OK
  The character set was retrieved successfully.
E_POINTER
  The address in pcharset is not valid. For example, it may be NULL.

See Also

IFont::put_Charset