This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.Load Method (String)

Loads the bitmap from specified file.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Load ( _
	fileName As String _
)
C#
public void Load(
	string fileName
)

Parameters

fileName

Type: System.String

Name of the file to load.

Remarks

If multiframe file is loaded, first frame is taken.

Examples

Visual Basic
Dim bitmap As New Aurigma.GraphicsMill.Bitmap
bitmap.Load("c:\mountain.jpg")
C#
Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap();
bitmap.Load(@"c:\mountain.jpg");

See Also

Reference