SetDefaults Method

See Also Applies To Example Model

Sets the default Shape properties for a specified Icon.

object expression.SetDefaults ([IconValue])

object expression    Required. An object expression that evaluates to an object in the Applies To list.

IconValue    Optional Long. The icon shape constant to use. Defaults to the Icon property setting.

Example

In the following example, the Bot is set to its default appearance, based on the Icon shape value.

Bot.Shape.Icon = vbtBeetle
Bot.Shape.SetDefaults