CStockPropImpl::put_Font

 

Call this method to set the control's font properties.

Syntax

      HRESULT STDMETHODCALLTYPE put_Font(
   IFontDisp* pFont 
);

Parameters

  • pFont
    A pointer to the control's font properties.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

CStockPropImpl Class
CStockPropImpl::get_Font
CStockPropImpl::putref_Font