Class UnitType
Le nom : Aspose.Html.Drawing Assemblaggio: Aspose.HTML.dll (25.4.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 Auto
Valore di campo
Ch
La mesure est relative à la largeur du « 0 » (zéro).
public static readonly UnitType Ch
Valore di campo
Cm
La mesure est en centimètres
public static readonly UnitType Cm
Valore di campo
Deg
La mesure est en degrés.
public static readonly UnitType Deg
Valore di campo
Dpcm
La mesure est en points par centimètre.
public static readonly UnitType Dpcm
Valore di campo
Dpi
La mesure est en points par pouce.
public static readonly UnitType Dpi
Valore di campo
Dppx
La mesure est en Dots par unité de pixels.
public static readonly UnitType Dppx
Valore di campo
Em
La mesure est relative à la hauteur de la lettre de l’élément parent.
public static readonly UnitType Em
Valore di campo
Ex
La mesure est relative à la hauteur de la lettre x de l’élément parent.
public static readonly UnitType Ex
Valore di campo
Grad
La mesure est en gradiens.
public static readonly UnitType Grad
Valore di campo
Hz
La mesure est en hertz.
public static readonly UnitType Hz
Valore di campo
In
La mesure est en pouces
public static readonly UnitType In
Valore di campo
Integer
La mesure est un nombre intégral.
public static readonly UnitType Integer
Valore di campo
KHz
La mesure est en kiloHertz.
public static readonly UnitType KHz
Valore di campo
Mm
La mesure est en millimètres
public static readonly UnitType Mm
Valore di campo
Ms
La mesure est en milliseconds.
public static readonly UnitType Ms
Valore di campo
Pc
La mesure est dans les pics
public static readonly UnitType Pc
Valore di campo
Percentage
La mesure est en pourcentage.
public static readonly UnitType Percentage
Valore di campo
Pt
La mesure est en points
public static readonly UnitType Pt
Valore di campo
Px
La mesure est en pixels
public static readonly UnitType Px
Valore di campo
Q
La mesure est en quart millimètre
public static readonly UnitType Q
Valore di campo
Rad
La mesure est en rayonnement.
public static readonly UnitType Rad
Valore di campo
Real
La mesure est un nombre réel.
public static readonly UnitType Real
Valore di campo
Rem
La mesure est relative à la taille des lettres de l’élément racine.
public static readonly UnitType Rem
Valore di campo
S
La mesure est en secondes.
public static readonly UnitType S
Valore di campo
Turn
La mesure est en tour.
public static readonly UnitType Turn
Valore di campo
Vh
La mesure est relative à 1% de la hauteur du port de vue* Essayez
public static readonly UnitType Vh
Valore di campo
Vmax
La mesure est relative à 1% de la dimension plus grande du port de vue* Essayez-le
public static readonly UnitType Vmax
Valore di campo
Vmin
La mesure est relative à 1% de la dimension* plus petite du port de vue.
public static readonly UnitType Vmin
Valore di campo
Vw
La mesure est relative à 1 % de la largeur du port de vue*
public static readonly UnitType Vw
Valore 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’.