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 m_sizeExtent data member.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT GetExtent( DWORD dwDrawAspect, SIZEL* psizel );

See Also

IOleObjectImpl::SetExtent