Class Size

Class Size

Le nom : Aspose.Html.Drawing Assemblaggio: Aspose.HTML.dll (25.4.0)

Il stocke des valeurs qui spécifient une hauteur et une largeur.

[ComVisible(true)]
public class Size

Inheritance

object Size

I membri ereditari

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Size()

Initialisez une nouvelle instance de la classe Aspose.Html.Drawing.Size.

public Size()

Size(int, int)

Initialiser une nouvelle instance de la classe Aspose.Html.Drawing.Size et spécifier une hauteur et une largeur en pixels.

public Size(int width, int height)

Parameters

width int

La larghezza .

height int

La altezza .

Size(Longueur, longueur)

Initialisez une nouvelle instance de la classe Aspose.Html.Drawing.Size.

public Size(Length width, Length height)

Parameters

width Length

La larghezza .

height Length

La altezza .

Properties

Height

Obtenez ou définissez la composante verticale de ce Aspose.Html.Drawing.Size.

public Length Height { get; set; }

Valore di proprietà

Length

Width

Obtenez ou mettez le composant horizontal de ce Aspose.Html.Drawing.Size.

public Length Width { get; set; }

Valore di proprietà

Length

 Français