Description

Initializes a new instance of the Bitmap class.

Syntax

object.Bitmap(filename)

object.Bitmap(width, height)

object.Bitmap(size)

Parameters

filename
A string expression specifying the name of the bitmap file
width
The width, in pixels, of the new bitmap
height
The height, in pixels, of the new bitmap
size
A Size object representing the size of the new bitmap

Return Value

A Bitmap object.

Example

$Bitmap = $System.Bitmap("c:\myimage.jpg") $Panel1.BackgroundImage = $System.Bitmap("myimage.bmp")

See Also

Applies To: System


The CHM file was converted to HTML by chm2web software.