ILogCoordinatesImpl::SetExtents

Sets the container extents of this visual part.

Defined in: LogCoordinatesImpl.h

Syntax

SetExtents(int cx, int cy)

SetExtents(const CSize& szExt)

Return Value

The previous container extents.

Parameters

cx

The new extents on the X axis

cy

The new extents of the Y axis

szExt

The new extents of the logical part

Comments

Extents define how logical units are mapped to container units. The logical extents and container extents define ratios along the horizontal and vertical axes that are used to convert logical units to container units. The extents are closely tied to the mapping mode, and extents are read-only for all mapping modes except MM_ANISOTROPIC and MM_ISOTROPIC.

See Also

GetExtents