Size(Double, Double) Constructor

Definición

Inicializa una nueva instancia de la estructura Size y le asigna un valor inicial de width y height.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)

Parámetros

width
Double

Ancho inicial de la instancia de Size.The initial width of the instance of Size.

height
Double

Alto inicial de la instancia de Size.The initial height of the instance of Size.

Comentarios

El width y el height no pueden ser negativos.The width and height cannot be negative.

Se aplica a