Eplan Platform API
Eplan.EplApi.DataModel Namespace / Placement Class / Scale Method / Scale(Double,Double,PointD) Method
X axis factor. E.g. value of 2 makes the width two times bigger.
Y axis factor. E.g. value of 0.5 makes the height two times smaller.
Scaling origin point.

In This Topic
    Scale(Double,Double,PointD) Method
    In This Topic
    Scales the placement (or group of placements) by the specified factors in X and Y axis with scaling origin point specified by the ptOrigin parameter.
    Syntax
    public virtual void Scale( 
       double fXAxis,
       double fYAxis,
       PointD ptOrigin
    )
    public:
    virtual void Scale( 
       double fXAxis,
       double fYAxis,
       PointD ptOrigin
    ) 

    Parameters

    Parameter NameDescription
    fXAxisX axis factor. E.g. value of 2 makes the width two times bigger.
    fYAxisY axis factor. E.g. value of 0.5 makes the height two times smaller.
    ptOriginScaling origin point.
    Exceptions
    ExceptionDescription
    Thrown when this method is called on an object that cannot be scaled.
    Remarks
    Symbol references on pages of type other than graphical cannot be scaled. In such case an exception is thrown.
    See Also