OmnisIcn Library.$getpict()

Function group Execute on client Platform(s)
OmnisIcn Library NO All

Syntax

OmnisIcn Library.$getpict(iconid,backgroundcolor[,noscale])

Description

Returns a picture variable containing the icon identified by iconid, drawn on the specified backgroundcolor.

When noscale is kTrue, a standard resolution image is returned. The default is kFalse, when the parameter is omitted, which will return an image scaled to match the resolution of the current or main display.

Example

Calculate lPicture as  OmnisIcn Library.$getpict(2003,kRed)