Size::Size(INT,INT) method (gdiplustypes.h)

Creates a Size object and initializes its Width and Height data members.

Syntax

void Size(
  [in] INT width,
  [in] INT height
);

Parameters

[in] width

Type: INT

Integer that specifies the initial value of the Width data member.

[in] height

Type: INT

Integer that specifies the initial value of the Height data member.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplustypes.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Size

Size Constructors