API Help
Eplan.EplApi.DataModel.Graphics Namespace / PropertyPlacement Class / RelationIndex Property

In This Topic
    RelationIndex Property
    In This Topic
    Gets/Sets RelationIndex of PropertyPlacement.
    Syntax
    public short RelationIndex {get; set;}
    public:
    property short RelationIndex {
       short get();
       void set (    short value);
    }

    Property Value

    RelationIndex of Property placement.
    Exceptions
    ExceptionDescription
    Thrown when property cannot be set/get.
    Thrown when the PropertyPlacement object has not been initialized.
    Thrown when the object handle that property value will be displayed is invalid.
    Remarks
    RelationIndex is used when Relation property is set to RelationType associated with Articles (Article, MainFunctionArticle etc.). It allows to choose index of Article from which property will be displayed. RelationIndex corresponds to the Row number in Parts tab in Function Properties dialog in GUI. Setter does not check if the given RelationIndex value is valid for the object. If given value is not valid PropertyPlacement text will be empty.
    See Also