DVEXTENTMODE enumeration (ocidl.h)

Indicates whether the sizing mode is content or integral sizing.

Syntax

typedef enum tagExtentMode {
  DVEXTENT_CONTENT = 0,
  DVEXTENT_INTEGRAL
} DVEXTENTMODE;

Constants

 
DVEXTENT_CONTENT
Value: 0
Indicates that the container will ask the object how big it wants to be to exactly fit its content, for example, in snap-to-size operations.
DVEXTENT_INTEGRAL
Indicates that the container will provide a proposed size to the object for its use in resizing.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header ocidl.h

See also

DVEXTENTINFO

IViewObjectEx::GetNaturalExtent