<!--
 //////////////////////////////////////////////////////////////////////////////
 // @license
 // This file is part of yFiles for HTML 2.6.
 // Use is subject to license terms.
 //
 // Copyright (c) 2000-2024 by yWorks GmbH, Vor dem Kreuzberg 28,
 // 72070 Tuebingen, Germany. All rights reserved.
 //
 //////////////////////////////////////////////////////////////////////////////
-->
# Printing Demo

# Printing Demo

This demo shows how to export the whole diagram or a part of it to an SVG on the client and how to print this graphic.

## Things to Try

- Resize and move the export rectangle to control the region which will be printed.
- Press the `Print` button to open a new browser window with the exported SVG and trigger the printing.
- Enable `Print Rectangle Contents` to print only the rectangle's region instead of the whole graph. Resize and move rectangle to control the region which will be printed.
- Experiment with the settings to observe how changes affect the results.
