SizeF.Add Method (SizeF, SizeF)

 

Adds the width and height of one SizeF structure to the width and height of another SizeF structure.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static SizeF Add(
	SizeF sz1,
	SizeF sz2
)

Parameters

sz1
Type: System.Drawing.SizeF

The first SizeF structure to add.

sz2
Type: System.Drawing.SizeF

The second SizeF structure to add.

Return Value

Type: System.Drawing.SizeF

A SizeF structure that is the result of the addition operation.

.NET Framework
Available since 2.0
Return to top
Show: