DrawDisplayList(HWND__,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(
HWND__* ,
Rectangle
)
public:
void DrawDisplayList(
HWND__* ,
Rectangle
)
Parameters
- hWnd
- 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