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
Parameters
- pArgs
- PaintEventArgs of the window, on which the display list will be drawn.
- rcClientRect
- Region of the window used for drawing.
Exceptions
Exception | Description |
ArgumentException | Thrown in case of invalid parameters. |
ArgumentNullException | A null reference is passed to a
parameter. |
BaseException | An error occurred, when drawing the
display list. |
See Also