Class Size

Class Size

Nom dels espais: Aspose.Html.Drawing Assemblea: Aspose.HTML.dll (25.4.0)

Emmagatzema un valor que especifica una Alçada i Width.

[ComVisible(true)]
public class Size

Inheritance

object Size

Membres heretats

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

Constructors

Size()

Inicialitza una nova instància de la classe Aspose.Html.Drawing.Size.

public Size()

Size(Int, Int)

Inicialitza una nova instància de la classe Aspose.Html.Drawing.Size i especifica una Alçada i Width en píxels.

public Size(int width, int height)

Parameters

width int

La seva amplada.

height int

La seva alçada.

Size(Longitud i longitud)

Inicialitza una nova instància de la classe Aspose.Html.Drawing.Size.

public Size(Length width, Length height)

Parameters

width Length

La seva amplada.

height Length

La seva alçada.

Properties

Height

Obté o col·loca el component vertical d’aquest Aspose.Html.Drawing.Size.

public Length Height { get; set; }

Valor de la propietat

Length

Width

Obté o col·loca el component horitzontal d’aquest Aspose.Html.Drawing.Size.

public Length Width { get; set; }

Valor de la propietat

Length

 Català