Class Size
Nome do espaço: Aspose.Html.Drawing Assembleia: Aspose.HTML.dll (25.4.0)
Armazena valores que especificam altura e largura.
[ComVisible(true)]
public class Size
Inheritance
Membros herdados
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Size()
Inicia uma nova instância da classe Aspose.Html.Drawing.Size.
public Size()
Size(Int, Int)
Inicia uma nova instância da classe Aspose.Html.Drawing.Size e especifica uma altura e largura em pixels.
public Size(int width, int height)
Parameters
width
int
A largura .
height
int
A altura .
Size(comprimento, comprimento)
Inicia uma nova instância da classe Aspose.Html.Drawing.Size.
public Size(Length width, Length height)
Parameters
width
Length
A largura .
height
Length
A altura .
Properties
Height
Obtenha ou coloca o componente vertical deste Aspose.Html.Drawing.Size.
public Length Height { get; set; }
Valor da propriedade
Width
Obtenha ou coloca o componente horizontal deste Aspose.Html.Drawing.Size.
public Length Width { get; set; }