Class Layer

Class Layer

Le nom : Aspose.Imaging.Xmp.Schemas.Photoshop Assemblée: Aspose.Imaging.dll (25.4.0)

Immagini di Photoshop Text Layer.

[JsonObject(MemberSerialization.OptIn)]
public class Layer : XmpTypeBase, IXmpType, ICloneable, IEquatable<layer>

Inheritance

object XmpTypeBase Layer

Implements

IXmpType , ICloneable , IEquatable

I membri ereditari

XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Layer(String et String)

Initialisez une nouvelle instance de la classe Aspose.Imaging.Xmp.Schemas.Photoshop.Layer.

public Layer(string layerName, string layerText)

Parameters

layerName string

Il nome della striscia.

layerText string

Il testo della striscia.

Layer()

Initialisez une nouvelle instance de la classe Aspose.Imaging.Xmp.Schemas.Photoshop.Layer.

[JsonConstructor]
public Layer()

Properties

Name

Riceve o impone il nome della striscia di testo.

[JsonProperty]
public string Name { get; set; }

Valore di proprietà

string

Text

Riceve o imposta il contenuto del testo della striscia.

[JsonProperty]
public string Text { get; set; }

Valore di proprietà

string

Methods

Equals(Objets)

Determinerà se il System.Object specificato è uguale a questa instanza.

public override bool Equals(object obj)

Parameters

obj object

Il sistema.oggetto per paragonare con questa instanza.

Returns

bool

’true’ se il specifico System.Object è uguale a questa instanza; altrimenti, ‘falso’.

Equals(Layer)

Indica se l’oggetto corrente è uguale ad un altro oggetto dello stesso tipo.

public bool Equals(Layer other)

Parameters

other Layer

Un oggetto da confrontare con questo oggetto.

Returns

bool

vero se l’oggetto corrente è uguale al parametro altro; altrimenti, falso.

GetHashCode()

Ritorna un codice hash per questo caso.

public override int GetHashCode()

Returns

int

Un codice hash per questo esempio, adatto per l’uso in algoritmi di hashing e strutture di dati come una tabella hash.

GetXmpRepresentation()

Ritorna il valore contenuto nel formato XMP.

public override string GetXmpRepresentation()

Returns

string

Retourner un fil contenant une représentation xmp.

 Français