Visio 2007 using instance text

Source: Internet
Author: User

Microsoft Office Visio 2007 helps you create professionally-looking charts to understand, document, and analyze information, data, systems, and processes.

Most graphics software programs rely on art skills. However, when you are using Visio, it is as easy to convey important information visually as to open a template, drag shapes onto a drawing, and apply themes to the work that is about to be completed. Now, the new features and enhancements in Office Visio 2007 make it easier, faster, and more impressive to create Visio diagrams.

Visio usage Examples

The following is a description of the basic usage of Visio by demonstrating the steps to create a UML class diagram in Visio.

01. New UML Diagram

After you open Visio 2007, click "File"-> "new"-> "Software and Database"-> "UML Model Diagram". As shown in the following figure.

After you create a new UML model diagram, you see the picture shown in the following illustration. On the left side of the diagram are graphical elements of several commonly used UML diagrams.

02. New "Class"

Drag the class in the static structure to the drawing area, and then set the font size to 14. As shown in the following figure.

03. Open the UML Class Properties dialog box

Double-click Class 1 in the drawing area to pop up the UML Class Properties dialog box and modify the class name to "int". As shown in the following figure.

04. Create "int class"

Click "OK" to create the "int class". The shape of the int class created in the drawing area is shown in the following illustration. In this way, a very simple class is created successfully!

The following creates a slightly basic class Student,student declaration as follows:

public class Student {

private int id;

public void setId (int id);

public int getId ();

}

01. Open the UML Class Properties dialog box.

Step No. 01 to No. 03, create a new class, open a UML Class Properties dialog box, and set the class name to student. As shown in the following figure.

02. Create "Attributes".

Click "Features" in the dialog box and add the student attribute "id" to set the type of ID to be type int. As shown in the following figure.

03. Create "Operation".

(01) Click "Action" in the dialog box and create a new operation "SetId". As shown in the following figure.

(02) Select "SetId" and click "Properties" to eject the UML Action Properties dialog box. As shown in the following figure.

(03) Click on the "UML Action Properties" dialog box, and add the parameter "id", set the int type ID, kind is in (input parameters). As shown in the following figure.

(04) Click "OK". Returns the UML Class Properties dialog box. As shown in the following figure.

(05) Click the "New" button, the new operation "GetId", and set its return type is int. As shown in the following figure.

04. Click OK to close the UML Class Properties dialog box. In this way, the student class diagram is created and completed. As shown in the following figure.

05. Save the class diagram as a JPG picture.

Files created by Visio are saved as. vsd format. The file in the VSD format contains complete information about the file and can be easily modified next time!

However, sometimes we need to pull out the finished Visio diagram individually. For example, save the completed student as a single picture. You can do this by doing the following:

(01) Click "File"-> "Save As", pop-up "Save as" dialog box, and then modify "Save Type" to "JPEG File Interchange Format." As shown in the following figure.

(02) Click "OK" and the file is saved as a JPEG image. As shown in the following figure.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.