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:
Chart3D1.ChartArea.Header.Border.Type = oc3dBorderShadow
Chart3D1.ChartArea.Header.Border = oc3dBorderShadow
Both of the above statements change the value of the Type property to oc3dBorderShadow.