Class LengthOrAuto

Class LengthOrAuto

Nome do espaço: Aspose.Html.Drawing Assembleia: Aspose.HTML.dll (25.4.0)

Representa um recipiente para comprimento de armazenamento ou unidades “auto”.

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

Inheritance

object Unit LengthOrAuto

Implements

IEquatable

Membros herdados

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

Inicia uma nova instância da classe Aspose.Html.Drawing.LengthOrAuto e coloca o estado para ‘auto’.

public LengthOrAuto()

LengthOrAuto(Length)

Inicia uma nova instância da classe Aspose.Html.Drawing.LengthOrAuto e coloca o estado para ’longht'.

public LengthOrAuto(Length length)

Parameters

length Length

O comprimento .

Properties

IsAuto

Recebe um valor indicando se esta instância está em ‘auto’.

public bool IsAuto { get; }

Valor da propriedade

bool

Length

Faça ou coloca o comprimento.

public Length Length { get; set; }

Valor da propriedade

Length

UnitType

Obtenha o tipo de unidade do Aspose.Html.Drawing.Unit.

public UnitType UnitType { get; }

Valor da propriedade

UnitType

Methods

Equals(Unit)

Determina se o especificado Aspose.Html.Drawing.Unit, é igual a esta instância.

public override bool Equals(Unit other)

Parameters

other Unit

O Aspose.Html.Drawing.Unit para comparar com esta instância.

Returns

bool

‘verdade’ se a especificada Aspose.Html.Drawing.Unit é igual a esta instância; caso contrário, ‘falsa’.

SetAuto()

Resetando o recipiente para a palavra “auto”.

public void SetAuto()

ToString()

Retorna um System.String que representa essa instância.

public override string ToString()

Returns

string

Um sistema.String que representa essa instância.

Operators

Operador implícito LongaOraAuto(Length)

Realizar uma conversão implícita de Aspose.Html.Drawing.LongthOrAuto.Longth para Aspose.Html.Drawing.LongthOrAuto.

public static implicit operator LengthOrAuto(Length length)

Parameters

length Length

O valor .

Returns

LengthOrAuto

O resultado da conversão.

Veja também

Unit

 Português