Table of Contents

Constructor IconSet

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

IconSet(Image)

Initializes a new instance of the IconSet with Image.

public IconSet(Image image)

Parameters

image Image

This image will be converted to icon and added to the set of icons.

IconSet(Stream)

Initializes a new instance of the IconSet class from the specified data stream.

public IconSet(Stream stream)

Parameters

stream Stream

The data stream used to load the icon.

IconSet(string?, Uri?)

Initializes a new instance of the IconSet class from the specified url. See FromUrl(string) for the details.

public IconSet(string? url, Uri? baseUri = null)

Parameters

url string

The file or embedded resource url used to load the image.

baseUri Uri

Base url. Optional. Used if url is relative.

Remarks

No exceptions are raised if error occurs during icon load. If DEBUG is defined, exception info is logged.

IconSet()

Initializes a new instance of the IconSet with default values.

public IconSet()