Exporting a Diagram to an Image

From RAD Studio
Jump to: navigation, search

Go Up to UML Diagram Procedures

You can export a diagram to an image file in several graphic formats, including:

  • bitmap image (.BMP)
  • enhanced windows metafile (.EMF)
  • graphics interchange (.GIF)
  • JPEG file interchange (.JPG)
  • W3C portable network graphics (.PNG)
  • Tag image file (.TIFF)
  • Windows metafile (.WMF)

You can open the saved image file in any graphic viewer that supports the graphic format in which the diagram was saved.

To export a diagram to an image

  1. Select the UML diagram you want to export and open the Export Diagram to Image dialog box:
    • In the Model View:
      • In the model tree, right-click the node of the diagram to export, and choose Export to Image on the context menu.
      • Select the node of the diagram to export and select File > Export to Image on the main menu.
    • In the Diagram View, open the tab with the diagram to export:
      • Right-click inside the diagram to export and select Export to Image on the context menu.
      • Select File > Export to Image on the main menu.
The Export Diagram to Image dialog box opens.
  1. In this dialog box, click Preview to preview the diagram image. Use options in the Zoom group to adjust the zoom settings of the diagram image, if necessary.
  2. Click Save. The Save diagram to image dialog box opens.
  3. In the Save as type field select the desired graphic format.
  4. Browse for a location where you want to save the image. In File name, enter the filename to store the image. By default, the image file takes on the name given to the diagram in RAD Studio. Click Save.

See Also