IconLib REALbasic Plugin

TransformCICN Method

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

TransformCICN(
   iconID as Integer,
   transform as Integer,
   backgound as Color) as Picture

Parameters

iconID
The resource id of the CICN.
transform
The transform type. (See IconTransformType constants)
backgound
The background color of the picture.

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