IOleObjectImpl::GetExtent

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.

Syntax

HRESULT GetExtent( DWORD dwDrawAspect, SIZEL* psizel );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

IOleObjectImpl Overview, IOleObjectImpl Methods, IOleObject::GetExtent, IOleObjectImpl::SetExtent