Table of Contents

Method AsNormalImage

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

AsNormalImage(int, bool)

Gets image with the specified size and Normal color.

public virtual Image? AsNormalImage(int size, bool isDark)

Parameters

size int

Image size in pixels.

isDark bool

Whether color theme is dark.

Returns

Image

AsNormalImage(AbstractControl)

Gets the normal image representation for a control using it's scale factor and color theme settings.

public virtual Image? AsNormalImage(AbstractControl control)

Parameters

control AbstractControl

Returns

Image