ImageListEntry

Wisej.Web.ImageListEntry

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents an entry in the ImageList component.

public class ImageListEntry : IDisposable

Constructors

ImageListEntry()

Initializes a new instance of ImageListEntry.

ImageListEntry(image)

Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image .

Name
Type
Description

image

Initial Image.

ImageListEntry(image, key)

Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image and Name to the provided key .

Name
Type
Description

image

Initial Image.

key

The name to assigned to the image .

ImageListEntry(source)

Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source .

Name
Type
Description

source

Initial source for the ImageSource property.

ImageListEntry(source, key)

Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source and Name to the provided key .

Name
Type
Description

source

Initial source for the ImageSource property.

key

The name to assigned to the source image.

Properties

HorizontalResolution

Single: Returns the horizontal resolution, in pixels per inch, of this Image.

Image

Image: Returns or sets the image.

ImageSource

String: Returns or sets the source of the image, it can be a URL or a name of a themed image.

Name

String: Returns or sets the name (key) of the image in the image list.

PhysicalDimension

SizeF: Returns the width and height of this image.

PixelFormat

PixelFormat: Returns the pixel format for this Image.

RawFormat

ImageFormat: Returns the file format of this Image.

Size

Size: Returns the width and height, in pixels, of this image.

TransparentImage

Image: Returns the Image made transparent according to the value of TransparentColor.

VerticalResolution

Single: Returns the vertical resolution, in pixels per inch, of this Image.

Methods

Dispose()

Resets the references to the images.

Last updated

Was this helpful?