VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateBitmap Methods / CreateBitmap(Int32,Int32,Int32,Resolution,PixelFormat,Palette) Method
Syntax Requirements SeeAlso
In This Topic
CreateBitmap(Int32,Int32,Int32,Resolution,PixelFormat,Palette) Method (DrawingFactory)
In This Topic
Creates a bitmap with specified parameters.
Syntax
'Declaration

Public Overloads Overridable Function CreateBitmap( _
ByVal width
The width.
As System.Int32, _
ByVal height
The height.
As System.Int32, _
ByVal stride
The stride.
As System.Int32, _
ByVal resolution
The resolution.
As Vintasoft.Imaging.Resolution, _
ByVal pixelFormat
The pixel format.
As Vintasoft.Imaging.PixelFormat, _
ByVal palette
The palette.
As Vintasoft.Imaging.Palette _
) As Vintasoft.Imaging.VintasoftBitmap

Parameters

width
The width.
height
The height.
stride
The stride.
resolution
The resolution.
pixelFormat
The pixel format.
palette
The palette.

Return Value

A new bitmap object.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also