C# Class ZForge.Controls.XPTable.Win32.SIZE

Show file Open project: zhuangyy/Motion

Public Properties

Property Type Description
cx int
cy int

Public Methods

Method Description
FromSize ( Size s ) : SIZE

Creates a new SIZE struct from the specified Size

SIZE ( int cx, int cy ) : System

Creates a new SIZE struct with the specified width and height

ToSize ( ) : Size

Returns a Point with the same width and height values as the SIZE

Method Details

FromSize() public static method

Creates a new SIZE struct from the specified Size
public static FromSize ( Size s ) : SIZE
s System.Drawing.Size The Size to create the SIZE from
return SIZE

SIZE() public method

Creates a new SIZE struct with the specified width and height
public SIZE ( int cx, int cy ) : System
cx int The width component of the new SIZE
cy int The height component of the new SIZE
return System

ToSize() public method

Returns a Point with the same width and height values as the SIZE
public ToSize ( ) : Size
return System.Drawing.Size

Property Details

cx public property

Specifies the x-coordinate of the point
public int cx
return int

cy public property

Specifies the y-coordinate of the point
public int cy
return int