API Help
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / CalculateReferencePoint Method
Output parameter - Reference point

In This Topic
    CalculateReferencePoint Method
    In This Topic
    Calculates the reference point of the macro Used to calculate reference point if reference point has not been defined by the user, when creating a macro. When reference point has been defined for then given macro, then output parameter is equal to ReferencePoint property.
    Syntax
    public bool CalculateReferencePoint( 
       ref PointD referencePoint
    )
    public:
    bool CalculateReferencePoint( 
       PointD% referencePoint
    ) 

    Parameters

    referencePoint
    Output parameter - Reference point

    Return Value

    true : when calculation was successful.

    Exceptions
    ExceptionDescription
    Thrown when the macro was not opend before or could not opened successfully.
    See Also