public static IReadWriteBitmapData CreateBitmapData(
Size size,
KnownPixelFormat pixelFormat,
Palette? palette
)Public Shared Function CreateBitmapData (
size As Size,
pixelFormat As KnownPixelFormat,
palette As Palette
) As IReadWriteBitmapDatapublic:
static IReadWriteBitmapData^ CreateBitmapData(
Size size,
KnownPixelFormat pixelFormat,
Palette^ palette
)static member CreateBitmapData :
size : Size *
pixelFormat : KnownPixelFormat *
palette : Palette -> IReadWriteBitmapData | ArgumentOutOfRangeException | size has a zero or negative width or height
-or- pixelFormat is not one of the valid formats. |
| ArgumentException | palette is too large for the specified pixelFormat. |