Table of Contents

Class DisplayScaling

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

A utility class to scale content of the controls.

public static class DisplayScaling
Inheritance
DisplayScaling

Properties

NeedsScaling

Gets a boolean value that indicates whether controls need to be scaled.

Settings

Gets or sets settings specifies how control should be scaled.

Methods

AutoDeScale(int)

De-scales the specified integer value accordingly to the screen resolution.

AutoScale(double)

Automatically scales the doluble specified value.

AutoScale(double, double)

Automatically scales the specified double value.

AutoScale(Size)

Automatically scales the specified Size value.

AutoScale(Size, float)

Automatically scales the specified Size value.

AutoScale(int)

Automatically scales the specified integer value accordingly to the screen resolution.

AutoScale(int, float)

Automatically scales the specified integer value.

AutoScale(float)

Automatically scales the specified float value.

AutoScale(float, float)

Automatically scales the specified float value.

AutoScale(Padding)

Automatically scales the specified Padding value.

AutoScale(Padding, float)

Automatically scales the specified Padding value.

CloneAndAutoScaleImage(Image)

Creates a scaled copy of the specified System.Drawing.Image control.

CloneAndAutoScaleImage(Image, float)

Creates a scaled copy of the specified System.Drawing.Image control.

CloneAndAutoScaleImageList(AlphaImageList)

Creates a scaled copy of the specified Alternet.Common.AlphaImageList control.

CloneAndAutoScaleImageList(AlphaImageList, float)

Creates a scaled copy of the specified Alternet.Common.AlphaImageList control.

CloneAndAutoScaleImageList(ImageList)

Creates a scaled copy of the specified System.Windows.Forms.ImageList control.

CloneAndAutoScaleImageList(ImageList, float)

Creates a scaled copy of the specified System.Windows.Forms.ImageList control.