Class XmpBoolean

Class XmpBoolean

Nazwa przestrzeń: Aspose.Imaging.Xmp.Types.Basic Zgromadzenie: Aspose.Imaging.dll (25.4.0)

Przedstawia typ bazowy XMP Boolean.

[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpBoolean : XmpTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase XmpBoolean

Implements

IXmpType , ICloneable

Dziedziczeni członkowie

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

Constructors

XmpBoolean(Bool)

Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Basic.xmpBoolean w oparciu o wartość booleana.

public XmpBoolean(bool value)

Parameters

value bool

Wartość Boolean. dopuszczone wartości są prawdziwe lub fałszywe.

XmpBoolean()

Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Basic.xmpBoolean z wartością domyślną.

[JsonConstructor]
public XmpBoolean()

XmpBoolean(strumień)

Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Basic.xmpBoolean.

public XmpBoolean(string value)

Parameters

value string

I wartość .

Exceptions

ArgumentNullException

Wartość

ArgumentException

Nieważna wartość łańcucha; wartość

Properties

Value

Otrzymuje lub ustawia wartość wskazującą, czy Aspose.Imaging.Xmp.Types.Basic.xmpBoolean jest wartością.

[JsonProperty]
public bool Value { get; set; }

Wartość nieruchomości

bool

Methods

GetXmpRepresentation()

Powraca wartość zawartą w formacie XMP.

public override string GetXmpRepresentation()

Returns

string

Powraca strona zawierająca reprezentację xmp.

 Polski