Class UnitType

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

object UnitType

Implements

IEquatable

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

UnitType

Ch

La mesure est relative à la largeur du « 0 » (zéro).

public static readonly UnitType Ch

Valore di campo

UnitType

Cm

La mesure est en centimètres

public static readonly UnitType Cm

Valore di campo

UnitType

Deg

La mesure est en degrés.

public static readonly UnitType Deg

Valore di campo

UnitType

Dpcm

La mesure est en points par centimètre.

public static readonly UnitType Dpcm

Valore di campo

UnitType

Dpi

La mesure est en points par pouce.

public static readonly UnitType Dpi

Valore di campo

UnitType

Dppx

La mesure est en Dots par unité de pixels.

public static readonly UnitType Dppx

Valore di campo

UnitType

Em

La mesure est relative à la hauteur de la lettre de l’élément parent.

public static readonly UnitType Em

Valore di campo

UnitType

Ex

La mesure est relative à la hauteur de la lettre x de l’élément parent.

public static readonly UnitType Ex

Valore di campo

UnitType

Grad

La mesure est en gradiens.

public static readonly UnitType Grad

Valore di campo

UnitType

Hz

La mesure est en hertz.

public static readonly UnitType Hz

Valore di campo

UnitType

In

La mesure est en pouces

public static readonly UnitType In

Valore di campo

UnitType

Integer

La mesure est un nombre intégral.

public static readonly UnitType Integer

Valore di campo

UnitType

KHz

La mesure est en kiloHertz.

public static readonly UnitType KHz

Valore di campo

UnitType

Mm

La mesure est en millimètres

public static readonly UnitType Mm

Valore di campo

UnitType

Ms

La mesure est en milliseconds.

public static readonly UnitType Ms

Valore di campo

UnitType

Pc

La mesure est dans les pics

public static readonly UnitType Pc

Valore di campo

UnitType

Percentage

La mesure est en pourcentage.

public static readonly UnitType Percentage

Valore di campo

UnitType

Pt

La mesure est en points

public static readonly UnitType Pt

Valore di campo

UnitType

Px

La mesure est en pixels

public static readonly UnitType Px

Valore di campo

UnitType

Q

La mesure est en quart millimètre

public static readonly UnitType Q

Valore di campo

UnitType

Rad

La mesure est en rayonnement.

public static readonly UnitType Rad

Valore di campo

UnitType

Real

La mesure est un nombre réel.

public static readonly UnitType Real

Valore di campo

UnitType

Rem

La mesure est relative à la taille des lettres de l’élément racine.

public static readonly UnitType Rem

Valore di campo

UnitType

S

La mesure est en secondes.

public static readonly UnitType S

Valore di campo

UnitType

Turn

La mesure est en tour.

public static readonly UnitType Turn

Valore di campo

UnitType

Vh

La mesure est relative à 1% de la hauteur du port de vue* Essayez

public static readonly UnitType Vh

Valore di campo

UnitType

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

UnitType

Vmin

La mesure est relative à 1% de la dimension* plus petite du port de vue.

public static readonly UnitType Vmin

Valore di campo

UnitType

Vw

La mesure est relative à 1 % de la largeur du port de vue*

public static readonly UnitType Vw

Valore di campo

UnitType

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

bool

’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

bool

’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

int

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

string

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

bool

’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

string

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

UnitType

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

bool

’true’ si les deux Aspose.Html.Drawing.UnitType ne sont pas égaux; autrement, ‘false’.

 Français