IASControl::get_Font

This method gets the font of a control.

Syntax

HRESULT get_Font( IFontDisp **ppFontDisp );

Parameters

ppFontDisp
Pointer to the pointer to the control’s display font.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

This method must be implemented, but can return E_NOTIMPL.

For Microsoft Windows CE for the Auto PC, the font size is 10000 times value of the lower 32 bits of the psize variable used in the Component Object Module (COM) IFont:get_Size and IFont:put_Size methods.

See Also

IASControl::put_Font