Int16Size Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Int16Size(Size) |
Constructs a Int16Size structure from a Size structure |
Int16Size(Double, Double) |
Constructs a Int16Size structure with an initial width and height. |
Int16Size(Int16, Int16) |
Constructs a Int16Size structure with an initial width and height. |
Int16Size(Int32, Int32) |
Constructs a Int16Size structure with an initial width and height. |
Int16Size(Size)
Constructs a Int16Size structure from a Size structure
public:
Int16Size(System::Windows::Size size);
public Int16Size (System.Windows.Size size);
new Microsoft.VisualStudio.Utilities.Int16Size : System.Windows.Size -> Microsoft.VisualStudio.Utilities.Int16Size
Public Sub New (size As Size)
Parameters
- size
- Size
The Size from which the Int16Size is to be initialized
Remarks
If size
is empty, the resulting Int16Size will also be empty.
Applies to
Int16Size(Double, Double)
Constructs a Int16Size structure with an initial width and height.
public:
Int16Size(double width, double height);
public Int16Size (double width, double height);
new Microsoft.VisualStudio.Utilities.Int16Size : double * double -> Microsoft.VisualStudio.Utilities.Int16Size
Public Sub New (width As Double, height As Double)
Parameters
- width
- Double
The initial width of the Int16Size
- height
- Double
The initial height of the Int16Size
Remarks
width
and height
cannot be negative
Applies to
Int16Size(Int16, Int16)
Constructs a Int16Size structure with an initial width and height.
public:
Int16Size(short width, short height);
public:
Int16Size(short width, short height);
Int16Size(short width, short height);
public Int16Size (short width, short height);
new Microsoft.VisualStudio.Utilities.Int16Size : int16 * int16 -> Microsoft.VisualStudio.Utilities.Int16Size
Public Sub New (width As Short, height As Short)
Parameters
- width
- Int16
The initial width of the Int16Size
- height
- Int16
The initial height of the Int16Size
Remarks
width
and height
cannot be negative
Applies to
Int16Size(Int32, Int32)
Constructs a Int16Size structure with an initial width and height.
public:
Int16Size(int width, int height);
public:
Int16Size(int width, int height);
Int16Size(int width, int height);
public Int16Size (int width, int height);
new Microsoft.VisualStudio.Utilities.Int16Size : int * int -> Microsoft.VisualStudio.Utilities.Int16Size
Public Sub New (width As Integer, height As Integer)
Parameters
- width
- Int32
The initial width of the Int16Size
- height
- Int32
The initial height of the Int16Size
Remarks
width
and height
cannot be negative