Class Resolution
Le nom : Aspose.Svg.Drawing Assemblée: Aspose.SVG.dll (25.5.0)
Il représente une unité de résolution.
[ComVisible(true)]
public sealed class Resolution : Dimension, IEquatable<unit>
Inheritance
object ← Unit ← Numeric ← Dimension ← Resolution
Implements
I membri ereditari
Dimension.ToString() , Numeric.GetValue() , Numeric.CompareTo(Numeric) , Numeric.Equals(Unit) , Numeric.GetHashCode() , Numeric.ToString() , Numeric.GetValue(UnitType) , Unit.Equals(Unit) , Unit.Equals(object) , Unit.GetHashCode() , Unit.ToString() , Unit.FromCentimeters(double) , Unit.FromMillimeters(double) , Unit.FromQuarterMillimeters(double) , Unit.FromInches(double) , Unit.FromPicas(double) , Unit.FromPoints(double) , Unit.FromPixels(double) , Unit.FromDegrees(double) , Unit.FromGradians(double) , Unit.FromRadians(double) , Unit.FromTurns(double) , Unit.FromSeconds(double) , Unit.FromMilliseconds(double) , Unit.FromHertz(double) , Unit.FromKiloHertz(double) , Unit.FromDotsPerInch(double) , Unit.FromDotsPerCentimeters(double) , Unit.FromDotsPerPixel(double) , Unit.UnitType , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
OnConvert(Unité, unité et double)
On appelle quand l’unité est convertie au type d’une unité spécifiée.
protected override double OnConvert(double value, UnitType fromType, UnitType toType)
Parameters
value
double
Il valore .
fromType
UnitType
du type d’unité.
toType
UnitType
Unité de type.
Returns
Retourne la valeur qui est convertie au type spécifié.
Operators
opérateur +(Résolution, résolution)
La mise en œuvre de l’opérateur +.
public static Resolution operator +(Resolution a, Resolution b)
Parameters
Paramètres A.
Paramètres B
Returns
Il risultato dell’operatore.
Exceptions
Les arguments sont nuls
Les arguments ont des types différentsまたはLes arguments ont une résolution différenteまたは
L’opérateur =(Résolution, résolution)
Implementare l’operatore =
public static bool operator ==(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
opérateur &il gt;(Résolution, résolution)
Il s’agit de l’opérateur >.
public static bool operator >(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
Exceptions
Les arguments ont des types différents
Un argument null
opérateur &Gt ; =(Résolution, résolution)
Il s’agit de l’opérateur >=.
public static bool operator >=(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
Exceptions
Les arguments ont des types différents
Un argument null
Résolution d’opérateur implicite(double)
Il effectue une conversion implicite de System.Double à Aspose.Svg,Drawing.Resolution.
public static implicit operator Resolution(double value)
Parameters
value
double
La valeur est traitée comme dpi.
Returns
Il risultato della conversione.
Résolution d’opérateur implicite(Flotte)
Il effectue une conversion implicite de System.Single à Aspose.Svg.Drawing.Resolution.
public static implicit operator Resolution(float value)
Parameters
value
float
La valeur est traitée comme dpi.
Returns
Il risultato della conversione.
opérateur !=(Résolution, résolution)
Implementa l’operatore!
public static bool operator !=(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
Méditerranée <(Résolution, résolution)
La mise en œuvre de l’opérateur <.
public static bool operator <(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
Exceptions
Les arguments ont des types différents
Un argument null
Méditerranée <=(Résolution, résolution)
Il s’agit de l’opérateur <=.
public static bool operator <=(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
Exceptions
Les arguments ont des types différents
Un argument null
opérateur -(Résolution, résolution)
La mise en œuvre de l’opérateur.
public static Resolution operator -(Resolution a, Resolution b)
Parameters
Le paramètre a.
Le paramètre B.
Returns
Il risultato dell’operatore.
Exceptions
Les arguments sont nuls
Les arguments ont des types différentsまたはLes arguments ont des résolutions différentesまたは