Class CmxRasterImage

Class CmxRasterImage

Tên không gian: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs Tổng hợp: Aspose.Imaging.dll (25.4.0)

Nó đại diện cho dữ liệu được chỉ định cho hình ảnh raster.

[JsonObject(MemberSerialization.OptIn)]
public class CmxRasterImage : ICmxObjectSpec

Inheritance

object CmxRasterImage

Implements

ICmxObjectSpec

Thành viên thừa kế

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

Nhận hoặc đặt các bit mỗi pixel.

[JsonProperty]
public uint BitsPerPixel { get; set; }

Giá trị bất động sản

uint

BytesPerLine

Nhận hoặc đặt kích thước của dòng.Các biện pháp trong byte.

[JsonProperty]
public uint BytesPerLine { get; set; }

Giá trị bất động sản

uint

ColorModel

Nhận hoặc đặt mô hình màu sắc.

[JsonProperty]
public uint ColorModel { get; set; }

Giá trị bất động sản

uint

ColorPalette

Nhận hoặc đặt màu palette array.Các yếu tố là giá trị màu ARGB đại diện trong System.Int32

[JsonProperty]
public int[] ColorPalette { get; set; }

Giá trị bất động sản

int [ ]

CompressedSize

Nhận hoặc đặt kích thước nén của hình ảnh.Các biện pháp trong byte.

[JsonProperty]
public uint CompressedSize { get; set; }

Giá trị bất động sản

uint

Compression

Nhận hoặc đặt các nén.

[JsonProperty]
public ushort Compression { get; set; }

Giá trị bất động sản

ushort

Height

Nhận hoặc đặt chiều cao của hình ảnh.Độ bền trong pixels.

[JsonProperty]
public uint Height { get; set; }

Giá trị bất động sản

uint

IsMask

Nhận hoặc đặt một giá trị cho thấy nếu ví dụ này là mặt nạ.

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

Giá trị bất động sản

bool

RawData

Nhận hoặc đặt dữ liệu byte thô của hình ảnh.

[JsonProperty]
public byte[] RawData { get; set; }

Giá trị bất động sản

byte [ ]

Size

Nhận hoặc đặt kích thước của hình ảnh.Các biện pháp trong byte.

[JsonProperty]
public uint Size { get; set; }

Giá trị bất động sản

uint

Type

Nhận hoặc đặt kiểu hình ảnh.

[JsonProperty]
public ushort Type { get; set; }

Giá trị bất động sản

ushort

Width

Nhận hoặc đặt chiều rộng của hình ảnh.Độ bền trong pixels.

[JsonProperty]
public uint Width { get; set; }

Giá trị bất động sản

uint

Methods

Equals(CmxRasterImage)

Kiểm tra xem các đối tượng có bình đẳng hay không.

protected bool Equals(CmxRasterImage other)

Parameters

other CmxRasterImage

đối tượng khác.

Returns

bool

Kết quả so sánh bình đẳng

Equals(đối tượng)

Kiểm tra xem các đối tượng có bình đẳng hay không.

public override bool Equals(object obj)

Parameters

obj object

đối tượng khác.

Returns

bool

Kết quả so sánh bình đẳng

GetHashCode()

Nhận mã hash của đối tượng hiện tại.

public override int GetHashCode()

Returns

int

Mã hash

ToString()

Trở lại một System.String đại diện cho trường hợp này.

public override string ToString()

Returns

string

Một hệ thống.String đại diện cho trường hợp này.

 Tiếng Việt