IViewObjectExImpl::GetNaturalExtent

This method provides sizing hints from the container for the object to use as the user resizes it. The ATL implementation returns E_NOTIMPL.

At a Glance

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

Syntax

HRESULT GetNaturalExtent( DWORD dwAspect, LONG lindex, DVTARGETDEVICE* ptd, HDC hicTargetDevice,
DVEXTENTINFO* pExtentInfo, LPSIZEL psizel );