Share via


IViewObjectExImpl::GetExtent

Retrieves the control's display size in HIMETRIC units (0.01 millimeter per unit) from the control class data member CComControlBase::m_sizeExtent.

STDMETHOD(GetExtent)(
   DWORD /* dwDrawAspect */,
   LONG /* lindex */,
   DVTARGETDEVICE* /* ptd */,
   LPSIZEL* lpsizel 
);

Remarks

See IViewObject2::GetExtent in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IViewObjectExImpl Class

Other Resources

IViewObjectExImpl Members