Returns the maximum width and height of two sizes
            
 
    Namespace: 
   Eto.Drawing
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic static Size Max(
	Size size1,
	Size size2
)
Public Shared Function Max ( 
	size1 As Size,
	size2 As Size
) As Size
static member Max : 
        size1 : Size * 
        size2 : Size -> Size 
Parameters
- size1
 - Type: Eto.DrawingSize
First size to get the maximum values - size2
 - Type: Eto.DrawingSize
Second size to get the maximum values 
Return Value
Type: 
SizeA new instance of a Size struct with the maximum width and height of either sizes
See Also