Programming Considerations > Programming With Objects > Default Properties |
If an object is referenced in a statement without a property being specified, the object's default property is assumed. For example, the default property for the Border object is the Type property, which means that the following two statements are equivalent:
Chart2D1.Header.Border.Type = oc2dBorderShadow
Chart2D1.Header.Border = oc2dBorderShadow
Both of the above statements change the value of the Type property to oc2dBorderShadow.