Class DisplayScaledImage
Chooses between regular and high-DPI image and/or scales images depending on current DPI setting. This class is for single image. See also DisplayScaledImages, DisplayScaledImagesByKey.
public class DisplayScaledImage : IDisposable
- Inheritance
-
DisplayScaledImage
- Implements
Constructors
- DisplayScaledImage(Func<Image>, Func<Image>)
Initializes a new instance of DisplayScaledImage class.
Properties
- Image
Gets output image, with scaling applied, if required.
- ImageNotScaled
Gets output image, but without any scaling applied.
Methods
- Dispose()
Disposes this
DisplayScaledImage
and frees resources associated with it.