Size.Size constructors

This topic lists the constructors of the Size class. For a complete class listing, see Size Class.

Overload list

Constructor Description
Size(Size&) Creates a Size object and initializes its members by copying the members of another Size object.
Size(INT,INT) Creates a Size object and initializes its Width and Height data members.
[Size()](/windows/desktop/api/Gdiplustypes/nf-gdiplustypes-size-size(in const size &)) Creates a new Size object and initializes the members to zero. This is the default constructor.