다음을 통해 공유


IOleObjectImpl::GetExtent

Retrieves a running control's display size in HIMETRIC units (0.01 millimeter per unit).

STDMETHOD(GetExtent)(
   DWORD dwDrawAspect,
   SIZEL* psizel 
);

Remarks

The size is stored in the control class data member CComControlBase::m_sizeExtent.

See IOleObject::GetExtent in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Concepts

IOleObjectImpl Class

IOleObjectImpl Members

IOleObjectImpl::SetExtent