MaxWidthHeight Method
MaxWidthHeight(Size[])
Returns the larger of the specified Size values.
Declaration
public static Size MaxWidthHeight(Size[] sizes)
Parameters
| Type | Name | Description |
|---|---|---|
| Size[] | sizes | Array of Size values. |
Returns
| Type | Description |
|---|---|
| Size |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException | if |