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

    dLeft
    Left
    dTop
    Top
    dRight
    Right
    dBottom
    Bottom
    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