Class Size
Nazwa przestrzeń: Aspose.Html.Drawing Zestaw: Aspose.HTML.dll (25.4.0)
Przechowuje wartości określające wysokość i szerokość.
[ComVisible(true)]
public class Size
Inheritance
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Size()
Inicjalizuje nowy przykład klasy Aspose.Html.Drawing.Size.
public Size()
Size(i int, int)
Inicjalizuje nowy przykład klasy Aspose.Html.Drawing.Size i określa wysokość i szerokość w pikselach.
public Size(int width, int height)
Parameters
width
int
i szerokości .
height
int
i wysokość .
Size(długość, długość)
Inicjalizuje nowy przykład klasy Aspose.Html.Drawing.Size.
public Size(Length width, Length height)
Parameters
width
Length
i szerokości .
height
Length
i wysokość .
Properties
Height
Uzyskać lub ustawić pionowy składnik tego Aspose.Html.Drawing.Size.
public Length Height { get; set; }
Wartość nieruchomości
Width
Uzyskać lub ustawić składnik horyzontalny tego Aspose.Html.Drawing.Size.
public Length Width { get; set; }