This documentation is archived and is not being maintained.

Size Operators and Type Conversions

.NET Framework 1.1

The operators and type conversions of the Size structure are listed here. For a complete list of Size structure members, see the Size Members topic.

Public Type Conversions

public operatorstatic (Shared in Visual Basic)Addition Operator Adds the width and height of one Size structure to the width and height of another Size structure.
public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Tests whether two Size structures are equal.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Tests whether two Size structures are different.
public operatorstatic (Shared in Visual Basic)Subtraction Operator Subtracts the width and height of one Size structure from the width and height of another Size structure.
public operatorstatic (Shared in Visual Basic)Size to Point Conversion Converts the specified Size to a Point.
public operatorstatic (Shared in Visual Basic)Size to SizeF Conversion Converts the specified Size to a SizeF.

See Also

Size Structure | System.Drawing Namespace

Show: