BitmapInfo

概述

BitmapInfo 是 Aspose.PDF FOSS 中用于 .NET 的类。

此类提供 2 个用于在 .NET 程序中处理 BitmapInfo 对象的方法。可用的方法包括:BitmapInfo。在安装了 Aspose.PDF FOSS for .NET 包之后,所有公共成员对任何 .NET 应用程序均可访问。属性:Format、Height、PixelBytes、Width。

属性

名称类型访问描述
Widthint读取获取宽度。
Heightint读取获取高度。
PixelBytesbyte[]读取获取像素字节。
FormatPixelFormat读取获取格式。

方法

签名描述
BitmapInfo()在此 BitmapInfo 实例上调用 BitmapInfo。
BitmapInfo(pixelBytes: byte[], width: int, height: int, format: PixelFormat)在此 BitmapInfo 实例上调用 BitmapInfo(pixelBytes, width, height, format)。

另请参阅

 中文