Class CmxRasterImage
Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs
Assembly: Aspose.Imaging.dll (25.2.0)
Represents the data specified for raster images.
[JsonObject(MemberSerialization.OptIn)]
public class CmxRasterImage : ICmxObjectSpec
Inheritance
Implements
Inherited Members
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
Gets or sets the bits per pixel.
[JsonProperty]
public uint BitsPerPixel { get; set; }
Property Value
BytesPerLine
Gets or sets the size of the line. Measures in bytes.
[JsonProperty]
public uint BytesPerLine { get; set; }
Property Value
ColorModel
Gets or sets the color model.
[JsonProperty]
public uint ColorModel { get; set; }
Property Value
ColorPalette
Gets or sets the color palette array. Elements is ARGB color values represents in System.Int32
[JsonProperty]
public int[] ColorPalette { get; set; }
Property Value
int[]
CompressedSize
Gets or sets the compressed size of the image. Measures in bytes.
[JsonProperty]
public uint CompressedSize { get; set; }
Property Value
Compression
Gets or sets the compression.
[JsonProperty]
public ushort Compression { get; set; }
Property Value
Height
Gets or sets the height of the image. Measures in pixels.
[JsonProperty]
public uint Height { get; set; }
Property Value
IsMask
Gets or sets a value indicating whether this instance is mask.
[JsonProperty]
public bool IsMask { get; set; }
Property Value
RawData
Gets or sets the raw byte data of the image.
[JsonProperty]
public byte[] RawData { get; set; }
Property Value
byte[]
Size
Gets or sets the size of the image. Measures in bytes.
[JsonProperty]
public uint Size { get; set; }
Property Value
Type
Gets or sets the type of the image.
[JsonProperty]
public ushort Type { get; set; }
Property Value
Width
Gets or sets the width of the image. Measures in pixels.
[JsonProperty]
public uint Width { get; set; }
Property Value
Methods
Equals(CmxRasterImage)
Check if objects are equal.
protected bool Equals(CmxRasterImage other)
Parameters
other
CmxRasterImage
The other object.
Returns
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
object
The other object.
Returns
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
The hash code.
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
A System.String that represents this instance.