SIZE

The SIZE structure specifies the width and height of a rectangle.

typedef struct tagSIZE { // siz 
    LONG cx; 
    LONG cy; 
} SIZE; 
 

Members

cx
Specifies the rectangle's width.
cy
Specifies the rectangle's height.

Remarks

The rectangle dimensions stored in this structure may correspond to viewport extents, window extents, text extents, bitmap dimensions, or the aspect-ratio filter for some extended functions.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in windef.h.

See Also

Bitmaps Overview, Bitmap Structures, GetAspectRatioFilterEx, GetBitmapDimensionEx, GetTextExtentPoint32, GetViewportExtEx, GetWindowExtEx, ScaleViewportExtEx, ScaleWindowExtEx, SetBitmapDimensionEx, SetViewportExtEx, SetWindowExtEx