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