ILogCoordinatesImpl::SetLogExtents

Sets the logical extents of this visual part

Defined in: LogCoordinatesImpl.h

Syntax

SetLogExtents(int cx, int cy)

SetLogExtents(const CSize& szLogExt)

Return Value

The previous logical size of the visual part

Parameters

cx

The new logical extents of this logical part on the X axis

cy

The new logical extents of this logical part on the Y axis

szLogExt

The new logical extents of this 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

GetLogExtents