Class LengthOrAuto

Class LengthOrAuto

Nazwa przestrzeń: Aspose.Svg.Drawing Zgromadzenie: Aspose.SVG.dll (25.5.0)

Przedstawia pojemnik na długość przechowywania lub jednostki „automatyczne”.

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

Inheritance

object Unit LengthOrAuto

Implements

IEquatable

Dziedziczeni członkowie

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()

Inicjalizuje nową instancję klasy Aspose.Svg.Drawing.LengthOrAuto i ustawia stan na “auto”.

public LengthOrAuto()

LengthOrAuto(Length)

Inicjalizuje nową instancję klasy Aspose.Svg.Drawing.LengthOrAuto i ustawia stan na “long”.

public LengthOrAuto(Length length)

Parameters

length Length

i długości .

Properties

IsAuto

Otrzymuje wartość wskazującą, czy ta instancja znajduje się w “auto”.

public bool IsAuto { get; }

Wartość nieruchomości

bool

Length

Dostaje lub ustawia długość.

public Length Length { get; set; }

Wartość nieruchomości

Length

UnitType

Otrzymuje typ jednostki Aspose.Svg.Drawing.Unit.

public UnitType UnitType { get; }

Wartość nieruchomości

UnitType

Methods

Equals(Unit)

Określa, czy określony Aspose.Svg.Drawing.Unit jest równy tej instancji.

public override bool Equals(Unit other)

Parameters

other Unit

Wygląda na to, że Aspose.Svg.Drawing.Unit można porównać z tym przykładem.

Returns

bool

“prawdziwy” jeśli określony Aspose.Svg.Drawing.Unit jest równy tej instancji; w przeciwnym razie, “fałszywy”.

SetAuto()

Odśwież pojemnik do stwierdzenia „auto”.

public void SetAuto()

ToString()

Powraca system.String, który reprezentuje tę instancję.

public override string ToString()

Returns

string

System.String, który reprezentuje tę instancję.

Operators

Operator implikacyjny LengthOrAuto(Length)

Wykonuje implikatywną konwersję z Aspose.Svg.Drawing.LongthOrAuto.Przesłanie do Aspos.

public static implicit operator LengthOrAuto(Length length)

Parameters

length Length

I wartość .

Returns

LengthOrAuto

Wynik konwersji.

Zobacz również

Unit

 Polski