You can not create new skins from code. You have to use skins that have been predefined in Iris.
When you add a widget to a form, the widget uses the default skin unless you specify a skin for the widget in the widget skin properties. You can create as many custom skins within Volt MX Iris as you need.
For more detail, see Understanding Widget Skins in the VoltMX Iris User Guide.
The following sections describe the programmatic support for skins: