Class LengthOrAuto

Class LengthOrAuto

De naam: Aspose.Html.Drawing Verzameling: Aspose.HTML.dll (25.4.0)

Representeert een container voor opslaglengte of ‘auto’ eenheden..

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

Inheritance

object Unit LengthOrAuto

Implements

IEquatable

Geëerbiede leden

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

Initialiseert een nieuwe instantie van de Aspose.Html.Drawing.LengthOrAuto-klasse en zet de status op ‘auto’.

public LengthOrAuto()

LengthOrAuto(Length)

Initialiseert een nieuwe instantie van de Aspose.Html.Drawing.LengthOrAuto-klasse en zet de status op ’length’.

public LengthOrAuto(Length length)

Parameters

length Length

De lengte.

Properties

IsAuto

Geeft een waarde die aangeeft of deze instantie in ‘auto’ is.

public bool IsAuto { get; }

Eigendomswaarde

bool

Length

Geeft of bepaalt de lengte.

public Length Length { get; set; }

Eigendomswaarde

Length

UnitType

Geeft het type eenheid van de Aspose.Html.Drawing.Unit.

public UnitType UnitType { get; }

Eigendomswaarde

UnitType

Methods

Equals(Unit)

Het bepaalt of de aangegeven Aspose.Html.Drawing.Unit gelijk is aan deze instantie.

public override bool Equals(Unit other)

Parameters

other Unit

De Aspose.Html.Drawing.Unit te vergelijken met deze instantie.

Returns

bool

‘waar’ als de aangegeven Aspose.Html.Drawing.Unit gelijk is aan deze instantie; anders, ‘fake’.

SetAuto()

Verwijder de container naar ‘auto’.

public void SetAuto()

ToString()

Terug een System.String die deze instantie vertegenwoordigt.

public override string ToString()

Returns

string

Een System.String die deze instantie vertegenwoordigt.

Operators

implicit operator LengthOrAuto(Length)

Het uitvoert een implicite conversie van Aspose.Html.Drawing.LengthOrAuto.Length naar Aspose.Html.Drawing.LengthOrAuto.

public static implicit operator LengthOrAuto(Length length)

Parameters

length Length

De waarde .

Returns

LengthOrAuto

Het resultaat van de conversie.

Zie ook

Unit

 Nederlands