IconLib REALbasic Plugin

TransformIcl Method

Use this function to open a Icl resource and return it as a REALbasic picture.

TransformIcl(
   iconID as Integer,
   transform as Integer,
   backgound as Color,
   iconSize as integer) as Picture

Parameters

iconID
The resource id of the icl.
transform
The transform type. (See IconTransformType constants)
backgound
The background color of the picture.
iconSize
The size of the icon.

Returns

Picture

Remarks

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)

    Unsupported Platforms:

  • Win32 - Windows
  • Linux x86

    See Also

    GlobalMethods Global