IFont::get_Charset method

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

Syntax


HRESULT get_Charset(
  [out] SHORT *pCharset
);

Parameters

pCharset [out]

A pointer to the caller-allocated variable that receives the character set value.

Return value

This method can return one of these values.

Return codeDescription
S_OK

The character set was retrieved successfully.

E_POINTER

The address in the pCharset parameter is not valid. For example, it may be NULL.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IFont is defined as BEF6E002-A874-101A-8BBA-00AA00300CAB

See also

IFont
IFont::put_Charset

 

 

Show: