Returns or sets the specified property for the layer.
object.Properties ( Property ) = [ value ]
- Required. A String that specifies the property name.
The Properties property is used to get or set the value of properties that need to be accessed less often. The following properties are supported:
Here's an example of setting the Properties property:
|Name||Description||Return Type||Read-only or read/write|
|Brightness||Brightness adjustment for the layer. Valid values are -1 to 1. Default is 0.||Double||Read/write|
|Contrast||Contrast adjustment for the layer. Valid values are -1 to 1. Default is 0.||Double||Read/write|
|ShowEditForm||Determines whether the edit form (or Feature Properties dialog box) is displayed when a new feature is added to the layer. Default is true.||Boolean||Read/write|
|ShowProgressDialogs||Determines whether the Building Spatial Index and Building Attribute Index dialogs are displayed when these actions occur. Default is True.||Boolean||Read/write|
|Transparency||Transparency percentage for the layer. Valid values are 0 to 1 (0 = 100 % transparent; 1 = 100 % opaque). Default is 1.||Double||Read/write|
|TransparencyColor||The transparent color for a raster layer.||OLE_COLOR||Read/write|
Layer.Properties ("ShowEditForm") = False