Class Size
Class Size
Pôvodný názov: Aspose.Html.Drawing Zhromaždenie: Aspose.HTML.dll (25.4.0)
Uloží hodnoty, ktoré určujú výšku a šírku.
[ComVisible(true)]
public class Size
Inheritance
Z dedičných členov
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Size()
Iniciuje novú inštanciu triedy Aspose.Html.Drawing.Size.
public Size()
Size(a int, int)
Initalizuje nový príklad triedy Aspose.Html.Drawing.Size a určuje výšku a šírku v pixeloch.
public Size(int width, int height)
Parameters
width
int
Na šírku .
height
int
na výšku .
Size(dĺžka, dĺžka)
Iniciuje novú inštanciu triedy Aspose.Html.Drawing.Size.
public Size(Length width, Length height)
Parameters
width
Length
Na šírku .
height
Length
na výšku .
Properties
Height
Získať alebo nastaviť vertikálnu zložku tejto Aspose.Html.Drawing.Size.
public Length Height { get; set; }
Hodnota nehnuteľnosti
Width
Získať alebo nastaviť horizontálnu zložku tohto Aspose.Html.Drawing.Size.
public Length Width { get; set; }