Leadtools Namespace > RasterImage Class : Create(Int32,Int32,Int32,Int32,RasterColor) Method |
The number of bits per pixel.
Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, and 64.
public static RasterImage Create( int width, int height, int bitsPerPixel, int resolution, RasterColor backgroundColor )
'Declaration Public Shared Function Create( _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal bitsPerPixel As Integer, _ ByVal resolution As Integer, _ ByVal backgroundColor As RasterColor _ ) As RasterImage
'Usage Dim width As Integer Dim height As Integer Dim bitsPerPixel As Integer Dim resolution As Integer Dim backgroundColor As RasterColor Dim value As RasterImage value = RasterImage.Create(width, height, bitsPerPixel, resolution, backgroundColor)
public static RasterImage Create( int width, int height, int bitsPerPixel, int resolution, RasterColor backgroundColor )
+(id)createColoredWithWidth:(unsigned int)inWidth height:(unsigned int)inHeight bitsPerPixel:(unsigned int)inBitsPerPixel resolution:(unsigned int)resolution backgroundColor:(LTRasterColor*)backgroundColor error:(NSError**)outError;
public static RasterImage create( int width, int height, int bitsPerPixel, int resolution, RasterColor backgroundColor )
function Leadtools.RasterImage.Create(Int32,Int32,Int32,Int32,RasterColor)( width , height , bitsPerPixel , resolution , backgroundColor )
public: static RasterImage^ Create( int width, int height, int bitsPerPixel, int resolution, RasterColor backgroundColor )
The number of bits per pixel.
Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, and 64.