Udostępnij za pośrednictwem


How to: Copy Class Diagram Elements to a Microsoft Office Document

You can copy one, several, or all the shapes from a class diagram into other documents. Whether the copy operation duplicates the visual image of the shape or its underlying code depends on the type of document into which you paste it.

To copy a single element

  • Right-click the shape and choose Copy as Image.

    The shape is placed on the Clipboard.

To copy several elements

  1. On the diagram surface, drag the pointer to select the shapes you want to copy.

  2. Right-click one of the selected shapes and choose Copy as Image.

    All the selected shapes are placed on the Clipboard.

To copy all the elements in a class diagram

  1. Right-click the diagram surface and choose Select All.

  2. Click the Copy icon on the Standard toolbar, or select Copy as image from the Edit menu.

    All the diagram’s shapes are placed on the Clipboard.

After you have copied your selection, paste it using the Paste command in the destination program. Text-oriented programs display the code behind the selected shape or shapes, while graphics-oriented programs display the image of the shape or shapes that you copied.

Note

You can also choose Copy instead of Copy as Image. Copy copies the image as a regular bitmap, and Copy as Image copies the image as a vector-based image, which is better for most Office applications.

See Also

Tasks

How to: Print Class Diagrams

How to: Export Class Diagrams As Images