Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / GraphicalLayer Class
Members

In This Topic
    GraphicalLayer Class
    In This Topic
    This class represents a graphical layer of the project. It can be used to modify layer's properties.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.Graphics.GraphicalLayer

    Syntax
    public class GraphicalLayer 
    public ref class GraphicalLayer 
    Remarks
    This class, unlike others in DataModel, saves properties like Name,Description,Visible and others after calling Store() function. It is NOT done automatic. For properly work objects of this class, they have to be associated in a GraphicalLayerTable. Some properties of Data model classes are not linked with their owners even if from the syntax it may seem otherwise. Like in this line: oRectangle.Pen.ColorId = 5, the ColorId of the Pen is changed but oRectangle object doesn't know about it since the Pen property is a stand alone value not aware of oRectangle object existence. This remark applies to the following GraphicalLayer property: Pen.
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertySpecifies the Justification.  
    Public PropertyLayer's description  
    Public PropertyReturns true if the text frame exist.  
    Public PropertyReturns the GraphicalLayer text box type  
    Public PropertyGets layer Id.  
    Public PropertySpecifies if layer is used for 3D graphics It is not allowed to change this property for standard layers  
    Public PropertySpecifies, if the layer is background layer  
    Public PropertyReturns true, if the layer is a custom layer.  
    Public PropertySpecifies, if the layer is locked  
    Public PropertySpecifies, if the layer is printed  
    Public PropertySpecifies if scale is considered with this layer  
    Public PropertyChecks, if layer object is attached to existing project's layer.  
    Public PropertySpecifies visibility of the layer  
    Public PropertyLayer's name  
    Public PropertySpecifies the Paragraph Spacing. This property is used for PropertyPlacemets attributes.  
    Public PropertyLayer's pen  
    Public PropertySpecifies the Row Spacing. This property is used for PropertyPlacemets attributes. From layer: -16002, Single: 100, 1.5 lines: 150, Double: 200.  
    Public PropertyLayer's text height  
    Public PropertyLayer's rotation of texts  
    Public PropertySpecifies transparency of layer as double with a value between 0.0 and 1.0  
    Top
    Public Methods
     NameDescription
    Public MethodCreates new graphical layer in graphical table. This function calls Eplan.EplApi.DataModel.Graphics.GraphicalLayerTable.AddLayer() and returned object is merged with created object.  
    Public MethodDestructor for deterministic finalization of GraphicalLayer object. Destroys layer object without storing any changes into project.  
    Public Method.NET operator for comparing two GraphicalLayers. Comparison is made by comparing each of GraphicalLayers members instead of internal object id.  
    Public MethodServes as the default hash function.  
    Public MethodStores modified layer's properties into project.  
    Top
    Public Operators
    .NET operator for comparing two GraphicalLayers. Comparision is made by comparing each of GraphicalLayers members instead of internal object id.
    Top
    See Also