Class Resolution
名称: Aspose.Html.Drawing 编辑: Aspose.HTML.dll (25.4.0)
代表一个决策单位。
[ComVisible(true)]
public sealed class Resolution : Dimension, IEquatable<unit>
Inheritance
object ← Unit ← Numeric ← Dimension ← Resolution
Implements
继承人
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(双,单位类型,单位类型)
被称为当单位转换为指定的单位类型时。
protected override double OnConvert(double value, UnitType fromType, UnitType toType)
Parameters
value
double
它的价值。
fromType
UnitType
单位类型。
toType
UnitType
单位类型。
Returns
返回已转换为指定类型的值。
Operators
运营商 +(决议、决议)
执行操作员 +。
public static Resolution operator +(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
Exceptions
论点是零
论点有不同的类型或论点有不同的决议或
主持人 =(决议、决议)
执行操作员 ==。
public static bool operator ==(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
运营商 >(决议、决议)
执行运营商>。
public static bool operator >(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
Exceptions
论点有不同的类型
一个论点是零
运营商 >=(决议、决议)
执行操作员 >=。
public static bool operator >=(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
Exceptions
论点有不同的类型
一个论点是零
随机运营商解决方案(双重)
从 System.Double 转换为 Aspose.Html.Drawing.Resolution。
public static implicit operator Resolution(double value)
Parameters
value
double
值被处理为dpi。
Returns
转换的结果。
随机运营商解决方案(航海)
从 System.Single 转换为 Aspose.Html.Drawing.Resolution。
public static implicit operator Resolution(float value)
Parameters
value
float
值被处理为dpi。
Returns
转换的结果。
运营商 !=(决议、决议)
执行运营商!
public static bool operator !=(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
主持人 <(决议、决议)
执行运营商<。
public static bool operator <(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
Exceptions
论点有不同的类型
一个论点是零
主持人 <=(决议、决议)
执行操作员 <=。
public static bool operator <=(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
Exceptions
论点有不同的类型
一个论点是零
运营商 -(决议、决议)
执行运营商 -。
public static Resolution operator -(Resolution a, Resolution b)
Parameters
参数A。
参数B。
Returns
运营商的结果。
Exceptions
论点是零
论点有不同的类型或论点有不同的决议或