Table of Contents

Class DisplayScaledAlphaImages

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Chooses between regular and high-DPI image and/or scales images depending on current DPI setting. This class is for image list. See also DisplayScaledImagesByKey, DisplayScaledImage.

public class DisplayScaledAlphaImages : IDisposable
Inheritance
DisplayScaledAlphaImages
Implements

Constructors

DisplayScaledAlphaImages(Func<AlphaImageList?>, Func<AlphaImageList?>)

Initializes a new instance of DisplayScaledImages class.

Properties

Images

Gets output images, with scaling applied, if required.

ImagesNotScaled

Gets output images, but without any scaling applied.

Methods

ClearCache()

Clears the scaled images cache.

Dispose()

Disposes this DisplayScaledImages and frees resources associated with it.

Dispose(bool)