Table of Contents

Method Load

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Load(string, BitmapType)

Loads an image from a file or resource.

public virtual bool Load(string name, BitmapType type)

Parameters

name string
type BitmapType

One of the BitmapType values

Returns

bool

true if the operation succeeded, false otherwise.

Remarks

Note: Not all values of BitmapType enumeration may be supported by the library and operating system for the load operation.