Eplan Platform API
Eplan.EplApi.HEServices Namespace / DrawingService Class / SetViewport Method
Left
Top
Right
Bottom

In This Topic
    SetViewport Method
    In This Topic
    Sets the coordinates of the viewport region
    Syntax
    public void SetViewport( 
       double dLeft,
       double dTop,
       double dRight,
       double dBottom
    )
    public:
    void SetViewport( 
       double dLeft,
       double dTop,
       double dRight,
       double dBottom
    ) 

    Parameters

    Parameter NameDescription
    dLeftLeft
    dTopTop
    dRightRight
    dBottomBottom
    Remarks
    Viewport is returned in graphical coordinate system. If passed dimensions are not proportional to the drawing area, they are adjusted automatically in a way that aspect ratio is kept.
    See Also