ILogCoordinatesImpl::SetLogSize

Sets the width and height of the component in logical units.

Defined in: LogCoordinatesImpl.h

Syntax

SetLogSize(int cx, int cy)

SetLogSize(const CSize& szLog)

Return Value

CSize The previous logical size of the component

Parameters

cx

the horizontal size

cy

the vertical size

szExt

the logical size

Comments

Sizes the component so that it has covers enough area to display the specified logical size. Note, the number of logical units per pixel is not changed, rather the on-screen size of the component is changed to accommodate the desired total number of logical units.

See Also

GetLogSize