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 )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2