Szerkesztés

Megosztás a következőn keresztül:


Size(Double, Double) Constructor

Definition

Initializes a new instance of the Size structure and assigns it an initial width and height.

public:
 Size(double width, double height);
public Size (double width, double height);
new System.Windows.Size : double * double -> System.Windows.Size
Public Sub New (width As Double, height As Double)

Parameters

width
Double

The initial width of the instance of Size.

height
Double

The initial height of the instance of Size.

Remarks

The width and height cannot be negative.

Applies to