Class UnitType
Le nom : Aspose.Html.Drawing Assemblage : Aspose.HTML.dll (25.5.0)
Indica l’unità di misurazione.
[ComVisible(true)]
public sealed class UnitType : IEquatable<unittype>Inheritance
Implements
I membri ereditari
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Fields
Auto
La mesure n’est pas définie.
public static readonly UnitType AutoValore di campo
Ch
La mesure est relative à la largeur du « 0 » (zéro).
public static readonly UnitType ChValore di campo
Cm
La mesure est en centimètres
public static readonly UnitType CmValore di campo
Deg
La mesure est en degrés.
public static readonly UnitType DegValore di campo
Dpcm
La mesure est en points par centimètre.
public static readonly UnitType DpcmValore di campo
Dpi
La mesure est en points par pouce.
public static readonly UnitType DpiValore di campo
Dppx
La mesure est en Dots par unité de pixels.
public static readonly UnitType DppxValore di campo
Em
La mesure est relative à la hauteur de la lettre de l’élément parent.
public static readonly UnitType EmValore di campo
Ex
La mesure est relative à la hauteur de la lettre x de l’élément parent.
public static readonly UnitType ExValore di campo
Grad
La mesure est en gradiens.
public static readonly UnitType GradValore di campo
Hz
La mesure est en hertz.
public static readonly UnitType HzValore di campo
In
La mesure est en pouces
public static readonly UnitType InValore di campo
Integer
La mesure est un nombre intégral.
public static readonly UnitType IntegerValore di campo
KHz
La mesure est en kiloHertz.
public static readonly UnitType KHzValore di campo
Mm
La mesure est en millimètres
public static readonly UnitType MmValore di campo
Ms
La mesure est en milliseconds.
public static readonly UnitType MsValore di campo
Pc
La mesure est dans les pics
public static readonly UnitType PcValore di campo
Percentage
La mesure est en pourcentage.
public static readonly UnitType PercentageValore di campo
Pt
La mesure est en points
public static readonly UnitType PtValore di campo
Px
La mesure est en pixels
public static readonly UnitType PxValore di campo
Q
La mesure est en quart millimètre
public static readonly UnitType QValore di campo
Rad
La mesure est en rayonnement.
public static readonly UnitType RadValore di campo
Real
La mesure est un nombre réel.
public static readonly UnitType RealValore di campo
Rem
La mesure est relative à la taille des lettres de l’élément racine.
public static readonly UnitType RemValore di campo
S
La mesure est en secondes.
public static readonly UnitType SValore di campo
Turn
La mesure est en tour.
public static readonly UnitType TurnValore di campo
Vh
La mesure est relative à 1% de la hauteur du port de vue* Essayez
public static readonly UnitType VhValore di campo
Vmax
La mesure est relative à 1% de la dimension plus grande du port de vue* Essayez-le
public static readonly UnitType VmaxValore di campo
Vmin
La mesure est relative à 1% de la dimension* plus petite du port de vue.
public static readonly UnitType VminValore di campo
Vw
La mesure est relative à 1 % de la largeur du port de vue*
public static readonly UnitType VwValore di campo
Methods
Equals(Objets)
Determinerà se il System.Object specificato è uguale a questa instanza.
public override bool Equals(object obj)Parameters
obj object
Il sistema.oggetto per paragonare con questa instanza.
Returns
’true’ se il specifico System.Object è uguale a questa instanza; altrimenti, ‘falso’.
Equals(UnitType)
Déterminer si le Aspose.Html.Drawing.UnitType spécifié est égal à cette instance.
public bool Equals(UnitType other)Parameters
other UnitType
Le Aspose.Html.Drawing.UnitType pour comparer avec cette instance.
Returns
’true’ si le Aspose.Html.Drawing.UnitType spécifié est égal à cette instance; autrement, ‘faux’.
GetHashCode()
Ritorna un codice hash per questo caso.
public override int GetHashCode()Returns
Un codice hash per questo esempio, adatto per l’uso in algoritmi di hashing e strutture di dati come una tabella hash.
ToString()
Ritorna un System.String che rappresenta questa instanza.
public override string ToString()Returns
Un sistema.String che rappresenta questa instanza.
Operators
L’opérateur =(Unité, unité)
Déterminer si les deux valeurs spécifiées Aspose.Html.Drawing.UnitType sont égales.
public static bool operator ==(UnitType first, UnitType second)Parameters
first UnitType
La première Aspose.Html.Drawing.UnitType valeur à comparer.
second UnitType
La seconde Aspose.Html.Drawing.UnitType valeur à comparer.
Returns
’true’ si les deux Aspose.Html.Drawing.UnitType sont égaux; autrement, ‘faux’.
Commentaires sur Operateur String(UnitType)
Il effectue une conversion explicite de Aspose.Html.Drawing.UnitType à System.String .
public static explicit operator string(UnitType value)Parameters
value UnitType
Il valore .
Returns
Il risultato della conversione.
Opérateur implicite UnitType(Le string)
Il effectue une conversion implicite de System.String à Aspose.Html.Drawing.UnitType.
public static implicit operator UnitType(string value)Parameters
value string
Il valore .
Returns
Il risultato della conversione.
opérateur !=(Unité, unité)
Déterminer si les deux valeurs spécifiées Aspose.Html.Drawing.UnitType ne sont pas égales.
public static bool operator !=(UnitType first, UnitType second)Parameters
first UnitType
La première Aspose.Html.Drawing.UnitType valeur à comparer.
second UnitType
La seconde Aspose.Html.Drawing.UnitType valeur à comparer.
Returns
’true’ si les deux Aspose.Html.Drawing.UnitType ne sont pas égaux; autrement, ‘false’.