Kaliko.ImageLibrary
KalikoImage Constructor(Int32,Int32,Color)
Create a KalikoImage with a defined width, height and background color.
Syntax
'Declaration
Public Function New( _ ByVal width As System.Integer, _ ByVal height As System.Integer, _ ByVal backgroundColor As System.Drawing.Color _ )
'Usage
Dim width As System.Integer Dim height As System.Integer Dim backgroundColor As System.Drawing.Color Dim instance As New KalikoImage(width, height, backgroundColor)
public KalikoImage( System.int width, System.int height, System.Drawing.Color backgroundColor )
public KalikoImage( width: System.Integer; height: System.Integer; backgroundColor: System.Drawing.Color );
public function KalikoImage( width : System.int, height : System.int, backgroundColor : System.Drawing.Color );
public: KalikoImage( System.int width, System.int height, System.Drawing.Color backgroundColor )
public: KalikoImage( System.int width, System.int height, System.Drawing.Color backgroundColor )
Parameters
- width
- height
- backgroundColor
Example
// Creating a white image var image = new KalikoImage(640, 480, Color.White);
Requirements
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
See Also