Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / PropertyPlacement Class / Relation Property

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

    Property Value

    RelationType of PropertyPlacement.
    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
    Relation allows to select the source object for a PropertyPlacement. List of possible source objects is declared in RelationType enum. Property corresponds to the Source object field in Dialog Property selection in GUI. Setter does not check if the given RelationType value is valid for the object. If given value is not valid PropertyPlacement text will be empty.
    See Also