BitmapInfo
概述
BitmapInfo 是 Aspose.PDF FOSS 中用于 .NET 的类。
此类提供 2 个用于在 .NET 程序中处理 BitmapInfo 对象的方法。可用的方法包括:BitmapInfo。在安装了 Aspose.PDF FOSS for .NET 包之后,所有公共成员对任何 .NET 应用程序均可访问。属性:Format、Height、PixelBytes、Width。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Width | int | 读取 | 获取宽度。 |
Height | int | 读取 | 获取高度。 |
PixelBytes | byte[] | 读取 | 获取像素字节。 |
Format | PixelFormat | 读取 | 获取格式。 |
方法
| 签名 | 描述 |
|---|---|
BitmapInfo() | 在此 BitmapInfo 实例上调用 BitmapInfo。 |
BitmapInfo(pixelBytes: byte[], width: int, height: int, format: PixelFormat) | 在此 BitmapInfo 实例上调用 BitmapInfo(pixelBytes, width, height, format)。 |