Class Length

Class Length

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

길이 측정 단위를 나타냅니다.

[ComVisible(true)]
public sealed class Length : Dimension, IEquatable<unit>

Inheritance

object Unit Numeric Dimension Length

Implements

IEquatable

상속 회원들

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

double

Operators

운영자 +(길이, 길이)

운영자 +를 실행합니다.

public static Length operator +(Length a, Length b)

Parameters

a Length

파라미터 A

b Length

파라미터 B

Returns

Length

운영자의 결과입니다.

Exceptions

ArgumentNullException

논쟁은 0

ArgumentException

논쟁은 다른 유형이 있다.또는논쟁은 다른 해결책을 가지고 있다.또는

운영자 =(길이, 길이)

운영자 = 운영자 = 운영자

public static bool operator ==(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

bool

운영자의 결과입니다.

운영자 &GT에 대하여(길이, 길이)

운영자 >를 구현합니다.

public static bool operator &gt;(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

bool

운영자의 결과입니다.

Exceptions

ArgumentException

논쟁은 다른 유형이 있다.

ArgumentNullException

논쟁은 null이다.

운영자 &GT =(길이, 길이)

운영자를 실행 >=.

public static bool operator &gt;=(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

bool

운영자의 결과입니다.

Exceptions

ArgumentException

논쟁은 다른 유형이 있다.

ArgumentNullException

논쟁은 null이다.

운영자 !=(길이, 길이)

운영자에 의해 실행됩니다! =.

public static bool operator !=(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

bool

운영자의 결과입니다.

운영자 <(길이, 길이)

운영자 <를 구현합니다.

public static bool operator &lt;(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

bool

운영자의 결과입니다.

Exceptions

ArgumentException

논쟁은 다른 유형이 있다.

ArgumentNullException

논쟁은 null이다.

운영자 <=(길이, 길이)

운영자를 실행 <=.

public static bool operator &lt;=(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

bool

운영자의 결과입니다.

Exceptions

ArgumentException

논쟁은 다른 유형이 있다.

ArgumentNullException

논쟁은 null이다.

운영자 -(길이, 길이)

운영자에 의해 실행됩니다 -.

public static Length operator -(Length a, Length b)

Parameters

a Length

파라미터 A 입니다.

b Length

파라미터 B 입니다.

Returns

Length

운영자의 결과입니다.

Exceptions

ArgumentNullException

논쟁은 0

ArgumentException

논쟁은 다른 유형이 있다.또는논쟁은 다른 해결책을 가지고 있다.또는

 한국어