Class Unit
이름 공간 : Aspose.Html.Drawing 구성: Aspose.HTML.dll (25.4.0)
측정 단위에 대한 기본 클래스를 제공합니다.
[ComVisible(true)]
public abstract class Unit : IEquatable<unit>
Inheritance
Derived
Implements
상속 회원들
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Unit(UnitType)
Aspose.Html.Drawing.Unit 클래스의 새로운 사례를 시작합니다.
protected Unit(UnitType type)
Parameters
type
UnitType
단위 유형
Properties
UnitType
그것은 Aspose.Html.Drawing.Unit의 유닛 유형을 얻습니다.
public UnitType UnitType { get; }
부동산 가치
Methods
Equals(Unit)
지정된 Aspose.Html.Drawing.Unit이 이 경우와 동일한지 여부를 결정합니다.
public virtual bool Equals(Unit other)
Parameters
other
Unit
이 사례와 비교할 수 있는 Aspose.Html.Drawing.Unit.
Returns
‘진실’은 지정된 Aspose.Html.Drawing.Unit이 사례와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.
Equals(객체)
지정된 System.Object이 이 경우와 동일한지 여부를 결정합니다.
public override bool Equals(object obj)
Parameters
obj
object
시스템.Object 이 경우와 비교할 수 있습니다.
Returns
‘진실’이 지정된 System.Object이 이 경우와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.
FromCentimeters(듀얼)
Aspose.Html.Drawing.Longth 객체는 센티미터로 표시됩니다.
public static Length FromCentimeters(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromDegrees(듀얼)
Aspose.Html.Drawing.Angle 개체가 등급으로 나타납니다.
public static Angle FromDegrees(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Angle 개체를 반환합니다.
FromDotsPerCentimeters(듀얼)
Aspose.Html.Drawing.Resolution 개체는 센티미터 당 포인트로 나타납니다.
public static Resolution FromDotsPerCentimeters(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Resolution 개체를 반환합니다.
FromDotsPerInch(듀얼)
Aspose.Html.Drawing.Resolution 개체는 인치 당 포인트로 나타납니다.
public static Resolution FromDotsPerInch(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Resolution 개체를 반환합니다.
FromDotsPerPixel(듀얼)
Aspose.Html.Drawing.Resolution 개체는 픽셀 당 포인트로 나타납니다.
public static Resolution FromDotsPerPixel(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Resolution 개체를 반환합니다.
FromGradians(듀얼)
그것은 그라디언으로 표현되는 Aspose.Html.Drawing.Angle 개체를 반환합니다.
public static Angle FromGradians(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Angle 개체를 반환합니다.
FromHertz(듀얼)
Hertz로 표현된 Aspose.Html.Drawing.Frequency 개체를 반환합니다.
public static Frequency FromHertz(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Frequency 항목을 반환합니다.
FromInches(듀얼)
Aspose.Html.Drawing.Longth 객체는 인치로 표시됩니다.
public static Length FromInches(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromKiloHertz(듀얼)
Aspose.Html.Drawing.Frequency 개체가 kiloHertz로 표시됩니다.
public static Frequency FromKiloHertz(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Frequency 항목을 반환합니다.
FromMillimeters(듀얼)
Aspose.Html.Drawing.Longth 객체는 밀리미터로 나타납니다.
public static Length FromMillimeters(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromMilliseconds(듀얼)
Aspose.Html.Drawing.Time 객체는 밀리초로 나타납니다.
public static Time FromMilliseconds(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Time 항목을 반환합니다.
FromPicas(듀얼)
Aspose.Html.Drawing.Longth 항목은 피자로 표시됩니다.
public static Length FromPicas(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromPixels(듀얼)
Aspose.Html.Drawing.Longth 항목은 픽셀로 표시됩니다.
public static Length FromPixels(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromPoints(듀얼)
Aspose.Html.Drawing.Longth 항목은 포인트로 표시됩니다.
public static Length FromPoints(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromQuarterMillimeters(듀얼)
Aspose.Html.Drawing.Longth 객체는 쿼터 밀리미터로 나타납니다.
public static Length FromQuarterMillimeters(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing. 길이 항목을 반환합니다.
FromRadians(듀얼)
Aspose.Html.Drawing.Angle 개체가 방사선으로 나타납니다.
public static Angle FromRadians(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Angle 개체를 반환합니다.
FromSeconds(듀얼)
Aspose.Html.Drawing.Time 객체가 몇 초 안에 나타납니다.
public static Time FromSeconds(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Time 항목을 반환합니다.
FromTurns(듀얼)
Aspose.Html.Drawing.Angle 개체가 회전으로 나타납니다.
public static Angle FromTurns(double value)
Parameters
value
double
그 가치가 있다.
Returns
Aspose.Html.Drawing.Angle 개체를 반환합니다.
GetHashCode()
이 경우 해시 코드를 반환합니다.
public override int GetHashCode()
Returns
이 예제에 대한 해시 코드, 해시 테이블과 같은 해시 알고리즘 및 데이터 구조에서 사용하기에 적합합니다.
ToString()
이 경우를 나타내는 System.String을 반환합니다.
public override string ToString()
Returns
이 기회를 대표하는 시스템.String입니다.