Class LengthOrAuto
名称: Aspose.Html.Drawing セットアップ: Aspose.HTML.dll (25.4.0)
ストレージ長さまたは「自動」ユニットのためのコンテナを表します。
[ComVisible(true)]
public class LengthOrAuto : Unit, IEquatable<unit>
Inheritance
object ← Unit ← LengthOrAuto
Implements
相続人
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()
Constructors
LengthOrAuto()
Aspose.Html.Drawing.LengthOrAutoクラスの新しい例を開始し、「auto」にステータスを設定します。
public LengthOrAuto()
LengthOrAuto(Length)
Aspose.Html.Drawing.LengthOrAutoクラスの新しい例を開始し、「Lenght」にステータスを設定します。
public LengthOrAuto(Length length)
Parameters
length
Length
長さです。
Properties
IsAuto
このインスタンスが「自動車」にあるかどうかを示す値を得る。
public bool IsAuto { get; }
不動産価値
Length
取るか、長さを設定する。
public Length Length { get; set; }
不動産価値
UnitType
Aspose.Html.Drawing.Unit のユニットタイプを取得します。
public UnitType UnitType { get; }
不動産価値
Methods
Equals(Unit)
指定された Aspose.Html.Drawing.Unit がこの例と同じかどうかを決定します。
public override bool Equals(Unit other)
Parameters
other
Unit
Aspose.Html.Drawing.Unit は、この例と比較します。
Returns
「真実」は、指定された Aspose.Html.Drawing.Unit がこの例に等しい場合、そうでなければ「偽り」です。
SetAuto()
コンテナを「自動車」に戻す。
public void SetAuto()
ToString()
このインスタンスを代表するSystem.Stringを返します。
public override string ToString()
Returns
このインスタンスを代表するシステムストリングです。
Operators
インプラントオペレーター LongthOrAuto(Length)
Aspose.Html.Drawing.LengthOrAuto.Length から Aspose.Html.Drawing.LengthOrAuto への暗示的な変換を実行します。
public static implicit operator LengthOrAuto(Length length)
Parameters
length
Length
価値を。
Returns
変換の結果です。