FeatureAttribute Class
Contents
[
Hide
]Summary: An attribute of a Feature.
Module: aspose.gis
Full Name: aspose.gis.FeatureAttribute
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| FeatureAttribute(name, data_type) | Initializes a new instance of the FeatureAttribute class. |
| FeatureAttribute(name, data_type, can_be_null) | Initializes a new instance of the FeatureAttribute class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| can_be_null | bool | r/w | Gets a value indicating whether this instance can be null. |
| can_be_unset | bool | r/w | Gets or sets a value indicating whether value for this attribute can be omitted. |
| data_type | AttributeDataType | r/w | Gets the data type of the attribute. |
| default_value | object | r/w | Gets or sets a value for the attribute, that indicates missing data. |
| has_custom_default_value | bool | r | Gets a value indicating whether the pre-defined default value for this attribute was overridden with a custom value. |
| is_locked | bool | r | Gets a value indicating whether this attribute is locked. |
| name | string | r/w | Gets the name of the attribute. |
| precision | Nullable | r/w | Gets or sets maximum number of decimal digits to store. |
| type_name | string | r/w | The type name of the attribute. |
| width | Nullable | r/w | Gets or sets maximum allowed width of character representation of the attribute. |
Methods
| Name | Description |
|---|---|
| lock() | Locks this attribute. |
Constructor: FeatureAttribute(name, data_type)
FeatureAttribute(name, data_type)
Initializes a new instance of the FeatureAttribute class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the attribute. |
| data_type | AttributeDataType | The data type of the attribute. |
Constructor: FeatureAttribute(name, data_type, can_be_null)
FeatureAttribute(name, data_type, can_be_null)
Initializes a new instance of the FeatureAttribute class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the attribute. |
| data_type | AttributeDataType | The data type of the attribute. |
| can_be_null | bool |