This method retrieves the control's display size in HIMETRIC units (0.01 millimeter per unit) from the control class data member m_sizeExtent.
HRESULT GetExtent( DWORD dwDrawAspect, LONG lindex, DVTARGETDEVICE* ptd, LPSIZEL* lpsizel );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IViewObjectExImpl Overview, IViewObjectExImpl Methods, IViewObject2::GetExtent