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(สอง, UnitType, UnitType)
ชื่อเมื่อหน่วยจะถูกแปลงเป็นประเภทหน่วยที่ระบุ
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
Arguments เป็น null
Arguments มีประเภทที่แตกต่างกันหรือArguments มีคํานวณที่แตกต่างกันหรือ
ผู้ประกอบการ =(โซลูชั่น)
แนะนําผู้ประกอบการ ==
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
Arguments มีประเภทที่แตกต่างกัน
คําอธิบายเป็น null
ผู้ประกอบการ > =(โซลูชั่น)
แนะนําผู้ประกอบการ >=
public static bool operator >=(Resolution a, Resolution b)
Parameters
พารามิเตอร์ A
พารามิเตอร์ B
Returns
ผลของผู้ประกอบการ
Exceptions
Arguments มีประเภทที่แตกต่างกัน
คําอธิบายเป็น null
โซลูชั่นผู้ประกอบการ implicit(คู่)
ทําการแปลงแบบ implicit จาก System.Double ไปยัง Aspose.Html.Drawing.Resolution
public static implicit operator Resolution(double value)
Parameters
value
double
ค่าใช้จ่ายที่ได้รับการรักษาเป็น dpi
Returns
ผลของการแปลง
โซลูชั่นผู้ประกอบการ implicit(เฟอร์รี่)
ทําการแปลงแบบ implicit จาก 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
Arguments มีประเภทที่แตกต่างกัน
คําอธิบายเป็น null
ผู้ประกอบการ <=(โซลูชั่น)
แนะนําผู้ประกอบการ <=
public static bool operator <=(Resolution a, Resolution b)
Parameters
พารามิเตอร์ A
พารามิเตอร์ B
Returns
ผลของผู้ประกอบการ
Exceptions
Arguments มีประเภทที่แตกต่างกัน
คําอธิบายเป็น null
ผู้ประกอบการ -(โซลูชั่น)
การดําเนินการโดยผู้ประกอบการ -.
public static Resolution operator -(Resolution a, Resolution b)
Parameters
พารามิเตอร์ A
พารามิเตอร์ B
Returns
ผลของผู้ประกอบการ
Exceptions
Arguments เป็น null
Arguments มีประเภทที่แตกต่างกันหรือArguments มีการแก้ปัญหาที่แตกต่างกันหรือ