This method retrieves a running control's display size in HIMETRIC units (0.01 millimeter per unit). The size is stored in the control class data member m_sizeExtent.
HRESULT GetExtent( DWORD dwDrawAspect, SIZEL* psizel );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IOleObjectImpl Overview, IOleObjectImpl Methods, IOleObject::GetExtent, IOleObjectImpl::SetExtent