Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / QRCode Class / Scale Method / Scale(Double,Double) 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.

In This Topic
    Scale(Double,Double) Method
    In This Topic
    Scales the placement (or group of placements) by the specified factors in X and Y axis.
    Syntax
    public override void Scale( 
       double fXAxis,
       double fYAxis
    )
    public:
    void Scale( 
       double fXAxis,
       double fYAxis
    ) override 

    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.
    Exceptions
    ExceptionDescription
    Thrown when this method is called on an object that cannot be scaled.
    Remarks
    When using this method, the scaling origin point is (0, 0). Symbol references on pages of type other than graphical cannot be scaled. In such case an exception is thrown.
    See Also