Class CmxRasterImage
Nazwa przestrzeń: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs Zgromadzenie: Aspose.Imaging.dll (25.4.0)
Przedstawia dane określone dla obrazów rasterowych.
[JsonObject(MemberSerialization.OptIn)]
public class CmxRasterImage : ICmxObjectSpec
Inheritance
Implements
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
CmxRasterImage()
public CmxRasterImage()
Properties
BitsPerPixel
Uzyskuje lub ustawia bity na piksele.
[JsonProperty]
public uint BitsPerPixel { get; set; }
Wartość nieruchomości
BytesPerLine
Zostaw lub ustaw rozmiar linii.Środki w bajtach.
[JsonProperty]
public uint BytesPerLine { get; set; }
Wartość nieruchomości
ColorModel
Dostęp lub ustaw kolorowy model.
[JsonProperty]
public uint ColorModel { get; set; }
Wartość nieruchomości
ColorPalette
Dostęp lub ustaw kolor palety array.Elementy są wartości kolorów ARGB reprezentowane w System.Int32
[JsonProperty]
public int[] ColorPalette { get; set; }
Wartość nieruchomości
int [ ]
CompressedSize
Uzyskuje lub ustawia rozmiar kompresji obrazu.Środki w bajtach.
[JsonProperty]
public uint CompressedSize { get; set; }
Wartość nieruchomości
Compression
Przyjmuj lub ustaw kompresję.
[JsonProperty]
public ushort Compression { get; set; }
Wartość nieruchomości
Height
Uzyskuje lub ustawia wysokość obrazu.Mierzone w pikselach.
[JsonProperty]
public uint Height { get; set; }
Wartość nieruchomości
IsMask
Otrzymuje lub ustawia wartość wskazującą, czy ta instancja jest maską.
[JsonProperty]
public bool IsMask { get; set; }
Wartość nieruchomości
RawData
Otrzymuje lub ustawia surowe dane bytu obrazu.
[JsonProperty]
public byte[] RawData { get; set; }
Wartość nieruchomości
byte [ ]
Size
Uzyskuje lub ustawia rozmiar obrazu.Środki w bajtach.
[JsonProperty]
public uint Size { get; set; }
Wartość nieruchomości
Type
Otrzymuje lub ustawia typ obrazu.
[JsonProperty]
public ushort Type { get; set; }
Wartość nieruchomości
Width
Uzyskuje lub ustawia szerokość obrazu.Mierzone w pikselach.
[JsonProperty]
public uint Width { get; set; }
Wartość nieruchomości
Methods
Equals(CmxRasterImage)
Sprawdź, czy obiekty są równe.
protected bool Equals(CmxRasterImage other)
Parameters
other
CmxRasterImage
Kolejny obiekt.
Returns
Wynik porównania równości.
Equals(Obiekt)
Sprawdź, czy obiekty są równe.
public override bool Equals(object obj)
Parameters
obj
object
Kolejny obiekt.
Returns
Wynik porównania równości.
GetHashCode()
Zdobądź kod hash bieżącego obiektu.
public override int GetHashCode()
Returns
To jest kod hash.
ToString()
Powraca system.String, który reprezentuje tę instancję.
public override string ToString()
Returns
System.String, który reprezentuje tę instancję.