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 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.
    Syntax
    public void Scale( 
       double fXAxis,
       double fYAxis,
       PointD ptOrigin
    )
    public:
    void Scale( 
       double fXAxis,
       double fYAxis,
       PointD ptOrigin
    ) 

    Parameters

    fXAxis
    X axis factor. E.g. value of 2 makes the width two times bigger.
    fYAxis
    Y axis factor. E.g. value of 0.5 makes the height two times smaller.
    ptOrigin
    Scaling 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