Method GetAsImageSet
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
messageBoxIconMessageBoxIconThe message box icon identifier.
sizeint?Image size.
controlAbstractControlThe control for which bitmap is requested. Used to get scale factor. Optional. If not specified, default scale factor is used.