Eplan Platform API
Eplan.EplApi.DataModel Namespace / PropertyDefinition Class / MaxIndex Property
Example

MaxIndex Property (PropertyDefinition)
Allows to check maximal index of a given property.
Syntax
public int MaxIndex {get;}

Property Value

Maximal index of a given property.
Exceptions
ExceptionDescription
Thrown when called for PropertyValue created as a conversion from other type.
Remarks
Can be called only after retrieving form given API class property list.
Example
Article article; //a valid article object

int i = article.Properties[Properties.Article.ARTICLE_HEIGHT].MaxIndex;

PropertyValue pv = 2;
int ii = pv.MaxIndex;
See Also