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.

Syntax

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

At a Glance

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

See Also

IViewObjectExImpl Overview, IViewObjectExImpl Methods, IViewObjectEx::GetNaturalExtent