Condividi tramite


CStockPropImpl::putref_Font

Call this method to set the control's font properties, with a reference count.

HRESULT STDMETHODCALLTYPE putref_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.

Remarks

The same as CStockPropImpl::put_Font, but with a reference count.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::put_Font