SizeF::SizeF(REAL,REAL) method (gdiplustypes.h)

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

Syntax

void SizeF(
  [in] REAL width,
  [in] REAL height
);

Parameters

[in] width

Type: REAL

Real number that specifies the initial value of the Width data member.

[in] height

Type: REAL

Real number 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

SizeF

SizeF Constructors