IAxWinAmbientDispatch::put_Font

The Font property specifies the ambient font of the container.

STDMETHOD( put_Font )( 
   IFontDisp* pFont  
);

Parameters

  • pFont
    [in] The new value of this property.

Return Value

A standard HRESULT value.

Remarks

The ATL host object implementation uses the default GUI font or the system font as the default value of this property.

Requirements

Header: atliface.h

See Also

Reference

IAxWinAmbientDispatch Interface