Table of Contents

Method GetAsImageSet

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

GetAsImageSet(MessageBoxIcon, int?, AbstractControl?)

Gets bitmap as ImageSet for the specified message box icon. If bitmap size is not specified, gets bitmap for the default toolbar image size.

public static ImageSet? GetAsImageSet(MessageBoxIcon messageBoxIcon, int? size = null, AbstractControl? control = null)

Parameters

messageBoxIcon MessageBoxIcon

The message box icon identifier.

size int?

Image size.

control AbstractControl

The control for which bitmap is requested. Used to get scale factor. Optional. If not specified, default scale factor is used.

Returns

ImageSet