API Help
Eplan.EplApi.Base Namespace / ParserParameter Class
Members

In This Topic
    ParserParameter Class
    In This Topic
    Parameter Class for the usage with UnitParser. Configure the unit and the look of the Parser result.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.Base.ParserParameter
          Eplan.EplApi.DataModel.Graphics.ProjectParserParameter

    Syntax
    public class ParserParameter 
    public ref class ParserParameter 
    Public Constructors
     NameDescription
    Public ConstructorConstructor  
    Top
    Public Properties
     NameDescription
    Public PropertyThe grid size in millimeters. p.e. "4#" means 4 times grid size  
    Public PropertyThe UnitGroup Property. When first UnitID is set,the group is automatically defined by the unit. While setting a Group also the Unit can be changed to the first Unit in new Group if: - new Group is different than the Group of assigned Unit - there is no Unit and Group assigned When new assigned Group is the same like Unit Group, nothing will change. The unitparser can never convert units of different groups  
    Public PropertyHide the unit of the parsed result.  
    Public PropertyHide the value of the parsed result, all other texts (units and additional texts) will remain.  
    Public PropertyDisplay only the first Value.  
    Public PropertyDisplay only the Unit.  
    Public PropertySet the precision of the result (Values used for calculation: 0 up to 8)  
    Public PropertyAdd a space between Unit and the value  
    Public PropertySuppress the last zeroes of a floating result.  
    Public PropertyGet if the unit needs extra parameter to get resolved. Use the project dependend parameter class if this is true.  
    Public PropertyThe UnitId Property. Set or get the unit of the parameters.  
    Public PropertyThe unit is NOT separated by one of this chars: blank (){}[].,:;!?/\\  
    Top
    Public Methods
     NameDescription
    Public MethodParsing can start when the unitid is not empty  
    Public MethodDestructor for deterministic finalization of ParserParameter object.  
    Top
    See Also