API Help
Eplan.EplApi.DataModel.Graphics Namespace / GraphicalPlacement Class / Layer Property

In This Topic
    Layer Property (GraphicalPlacement)
    In This Topic
    Gets or sets object's graphical layer. If object is not assigned to a project (Project is null), null is returned
    Syntax
    public virtual GraphicalLayer Layer {get; set;}
    public:
    virtual property GraphicalLayer^ Layer {
       GraphicalLayer^ get();
       void set (    GraphicalLayer^ value);
    }
    Exceptions
    ExceptionDescription
    Thrown, if changing object's layer failed.
    Thrown if layer passed as parameter is not valid (property Eplan::EplApi::DataModel::Graphics::GraphicalLayer: returns false).
    See Also