Class Numeric

Class Numeric

이름 공간 : Aspose.Html.Drawing 구성: Aspose.HTML.dll (25.4.0)

숫자 유형에 대한 기본 클래스를 제공합니다.

[ComVisible(true)]
public abstract class Numeric : Unit, IEquatable<unit>

Inheritance

object Unit Numeric

Derived

Dimension

Implements

IEquatable

상속 회원들

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.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

CompareTo(Numeric)

현재 사례를 동일한 유형의 다른 개체와 비교하고 현재 사례가 다른 개체와 동일한 순서의 위치에서 이전, 다음 또는 발생하는지 여부를 나타내는 전체를 반환합니다.

public int CompareTo(Numeric other)

Parameters

other Numeric

비교할 수 있는 다른 물건이다.

Returns

int

비교되는 물체의 상대적 순서를 나타내는 값.

Exceptions

ArgumentNullException

다른 사람들

ArgumentException

Equals(Unit)

지정된 Aspose.Html.Drawing.Unit이 이 경우와 동일한지 여부를 결정합니다.

public override bool Equals(Unit other)

Parameters

other Unit

이 사례와 비교할 수 있는 Aspose.Html.Drawing.Unit.

Returns

bool

‘진실’은 지정된 Aspose.Html.Drawing.Unit이 사례와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.

GetHashCode()

이 경우 해시 코드를 반환합니다.

public override int GetHashCode()

Returns

int

이 예제에 대한 해시 코드, 해시 테이블과 같은 해시 알고리즘 및 데이터 구조에서 사용하기에 적합합니다.

GetValue()

단위 가치를 얻는다.

public double GetValue()

Returns

double

물건의 가치가 있다.

GetValue(UnitType)

지정된 Aspose.Html.Drawing.UnitType로 변환된 값을 얻습니다.

public double GetValue(UnitType unitType)

Parameters

unitType UnitType

단위의 종류

Returns

double

지정된 유형으로 변환되는 값을 반환합니다.

Exceptions

ArgumentNullException

유니트 타입

OnConvert(이중, 유니트 타입, 유니트 타입)

단위가 지정된 단위 유형으로 변환되면 호출됩니다.

protected abstract double OnConvert(double value, UnitType fromType, UnitType toType)

Parameters

value double

그 가치가 있다.

fromType UnitType

단위 유형의

toType UnitType

유일한 유형으로

Returns

double

지정된 유형으로 변환되는 값을 반환합니다.

ToString()

이 경우를 나타내는 System.String을 반환합니다.

public override string ToString()

Returns

string

이 기회를 대표하는 시스템.String입니다.

 한국어