Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / QRCode Class / SetArea Method
First corner of the rectangle
Second corner of the rectangle

In This Topic
    SetArea Method (QRCode)
    In This Topic
    Sets the size of a rectangle using the coordinates of the two opposite corners
    Syntax
    public override void SetArea( 
       PointD pntStart,
       PointD pntEnd
    )
    public:
    void SetArea( 
       PointD pntStart,
       PointD pntEnd
    ) override 

    Parameters

    pntStart
    First corner of the rectangle
    pntEnd
    Second corner of the rectangle
    Exceptions
    ExceptionDescription
    Thrown when the area cannot be set.
    Remarks
    QRCode should always have equal value on height and width. This means that setting points to have other ratio than equal will throw exception.
    See Also