
## OutlineCodeDefinition class

Represents an outline code definition.

The OutlineCodeDefinition type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|OutlineCodeDefinition()|Initializes a new instance of the [OutlineCodeDefinition](/tasks/python-net/aspose.tasks/outlinecodedefinition/) class.|
## Properties
| Name | Description |
| :- | :- |
|guid|Gets or sets the Guid of an outline code.|
|field_id|Gets or sets the field number of an outline code.|
|field_name|Gets or sets the name of a custom outline code.|
|alias|Gets or sets the alias of a custom outline code.|
|phonetic_alias|Gets or sets the phonetic pronunciation of the alias of the custom outline code.|
|values|Gets OutlineValueCollection object.<br/>            The values of the table associated with this outline code.|
|enterprise|Gets or sets a value indicating whether a custom outline code is an enterprise custom outline code.|
|enterprise_outline_code_alias|Gets or sets  a reference to another custom field for which this outline code definition is an alias.|
|resource_substitution_enabled|Gets or sets a value indicating whether the custom outline code can be used<br/>            by the Resource Substitution Wizard in Microsoft Project.|
|leaf_only|Gets or sets a value indicating whether the values specified in this outline code field must be leaf values.|
|all_levels_required|Gets or sets a value indicating whether the new codes must have all levels.<br/>            Not available for Enterprise Codes.|
|only_table_values_allowed|Gets or sets a value indicating whether the values specified must come from values table.|
|masks|Gets the OutlineMaskCollection object.<br/>            The table of entries that define the outline code mask.<br/>            Read-only [OutlineMaskCollection](/tasks/python-net/aspose.tasks/outlinemaskcollection/) instance.|
|show_indent|Gets or sets a value indicating whether the indents of this outline code must be shown.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

