Bagikan melalui


CStockPropImpl::put_Font

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

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

Reference

CStockPropImpl Class

CStockPropImpl::get_Font

CStockPropImpl::putref_Font