Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDSymbolVariant Class / AsGroup Property
Example

In This Topic
    AsGroup Property
    In This Topic
    The group of the symbol variant. That is needed to add graphical placements.
    Syntax
    public Group AsGroup {get;}
    public:
    property Group^ AsGroup {
       Group^ get();
    }

    Property Value

    Group of the symbol variant.
    Example
    MDSymbolVariant symVar = sym.AddSymbolVariant(0);
    Group grp = symVar.AsGroup;
    Line lin = Line.Create(grp);
    lin.StartPoint = new PointD(-50.0, 150.0);
    lin.EndPoint = new PointD(-50.0, 50.0);
    See Also