API Help
Eplan.EplApi.HEServices Namespace / DrawingService Class / DrawDisplayList Method / DrawDisplayList(PaintEventArgs,Rectangle) Method
PaintEventArgs of the window, on which the display list will be drawn.
Region of the window used for drawing.

In This Topic
    DrawDisplayList(PaintEventArgs,Rectangle) Method
    In This Topic
    Draws a display list on a window. The preview is fit to the window, while keeping its aspect ratio. Only the rectangle specified by the parameter rcClientRect will be used
    Syntax
    public void DrawDisplayList( 
       PaintEventArgs pArgs,
       Rectangle rcClientRect
    )
    public:
    void DrawDisplayList( 
       PaintEventArgs^ pArgs,
       Rectangle rcClientRect
    ) 

    Parameters

    pArgs
    PaintEventArgs of the window, on which the display list will be drawn.
    rcClientRect
    Region of the window used for drawing.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    A null reference is passed to a parameter.
    An error occurred, when drawing the display list.
    See Also