Drawing A Line In Microsoft Word

-->
  1. Drawing Tool In Word 2010
  2. Drawing In Word 2010
  3. Draw Curved Line In Microsoft Word
  4. How To Draw A Line In Microsoft Word 2011 For Mac

Definition

The Draw Table command lets you draw complicated tables in your Word 2007 documents by using a simple set of drawing tools. This command is ideal for creating tables that aren’t a simple grid of rows and columns. 1Select the Insert tab, click the Insert Table button in the Tables group, and then. How to Insert a Line in Word. This wikiHow teaches you how to create different kinds of lines in Microsoft Word on a Windows or Mac computer. Click or double-click the Word app icon, which resembles a white 'W' on a dark-blue.

Draws a line connecting the two points specified by the coordinate pairs.

Overloads

DrawLine(Pen, PointF, PointF)DrawLine(Pen, PointF, PointF)DrawLine(Pen, PointF, PointF)

Draws a line connecting two PointF structures.

DrawLine(Pen, Int32, Int32, Int32, Int32)DrawLine(Pen, Int32, Int32, Int32, Int32)DrawLine(Pen, Int32, Int32, Int32, Int32)

Draws a line connecting the two points specified by the coordinate pairs.

DrawLine(Pen, Single, Single, Single, Single)DrawLine(Pen, Single, Single, Single, Single)DrawLine(Pen, Single, Single, Single, Single)

Draws a line connecting the two points specified by the coordinate pairs.

DrawLine(Pen, Point, Point)DrawLine(Pen, Point, Point)DrawLine(Pen, Point, Point)

Draws a line connecting two Point structures.

DrawLine(Pen, PointF, PointF)DrawLine(Pen, PointF, PointF)DrawLine(Pen, PointF, PointF)

Draws a line connecting two PointF structures.

Parameters

pen
PenPenPen

Pen that determines the color, width, and style of the line.

pt1
PointFPointFPointF

PointF structure that represents the first point to connect.

pt2
PointFPointFPointF

PointF structure that represents the second point to connect.

Exceptions

ArgumentNullExceptionArgumentNullExceptionArgumentNullException

pen is null.

Examples

The following code example is designed for use with Windows Forms, and it requires PaintEventArgse, which is a parameter of the Paint event handler. The code performs the following actions:

  • Creates a black pen.

  • Creates points for the endpoints of the line.

  • Draws the line to the screen.

Remarks

This method draws a line connecting the two points specified by the pt1 and p2 parameters.

See also

DrawLine(Pen, Int32, Int32, Int32, Int32)DrawLine(Pen, Int32, Int32, Int32, Int32)DrawLine(Pen, Int32, Int32, Int32, Int32)

Draws a line connecting the two points specified by the coordinate pairs.

Parameters

pen
PenPenPen

Pen that determines the color, width, and style of the line.

x1
Int32Int32Int32

The x-coordinate of the first point.

y1
Int32Int32Int32

The y-coordinate of the first point.

x2
Int32Int32Int32

The x-coordinate of the second point.

y2
Int32Int32Int32

The y-coordinate of the second point.

Exceptions

ArgumentNullExceptionArgumentNullExceptionArgumentNullException

pen is null.

Drawing Tool In Word 2010

Examples

The following code example is designed for use with Windows Forms, and it requires PaintEventArgse, which is a parameter of the Paint event handler. The code performs the following actions:

  • Creates a black pen.

  • Creates the coordinates of the endpoints of the line.

  • Draws the line to the screen.

Remarks

This method draws a line connecting the two points specified by the x1, y1, x2, and y2 parameters.

See also

DrawLine(Pen, Single, Single, Single, Single)DrawLine(Pen, Single, Single, Single, Single)DrawLine(Pen, Single, Single, Single, Single)

Draws a line connecting the two points specified by the coordinate pairs.

Parameters

pen
PenPenPen

Pen that determines the color, width, and style of the line.

x1
SingleSingleSingle

The x-coordinate of the first point.

y1
SingleSingleSingle

The y-coordinate of the first point.

x2
SingleSingleSingle

The x-coordinate of the second point.

y2
SingleSingleSingle

The y-coordinate of the second point.

Exceptions

ArgumentNullExceptionArgumentNullExceptionArgumentNullException

pen is null.

Drawing In Word 2010

Examples

The following code example is designed for use with Windows Forms, and it requires PaintEventArgse, which is a parameter of the Paint event handler. The code performs the following actions:

  • Creates a black pen.

  • Creates the coordinates of the endpoints of the line.

  • Draws the line to the screen.

Remarks

This method draws a line connecting the two points specified by the x1, y1, x2, and y2 parameters.

See also

DrawLine(Pen, Point, Point)DrawLine(Pen, Point, Point)DrawLine(Pen, Point, Point)

Draws a line connecting two Point structures.

Parameters

pen
PenPenPen

Pen that determines the color, width, and style of the line.

pt1
PointPointPoint

Point structure that represents the first point to connect.

pt2
PointPointPoint

Point structure that represents the second point to connect.

Draw Curved Line In Microsoft Word

Exceptions

ArgumentNullExceptionArgumentNullExceptionArgumentNullException

pen is null.

Examples

The following code example is designed for use with Windows Forms, and it requires PaintEventArgse, which is a parameter of the Paint event handler. The code performs the following actions:

  • Creates a black pen.

  • Creates points for the endpoints of the line.

    Software is a powerful and useful tool, but it is not magic. Load calculation software for hvac.

  • Draws the line to the screen.

See also

Applies to

The Draw Table command lets you draw complicated tables in your Word 2007 documents by using a simple set of drawing tools. This command is ideal for creating tables that aren’t a simple grid of rows and columns.

1Select the Insert tab, click the Insert Table button in the Tables group, and then choose the Draw Table command.

The cursor changes to a small pencil.

2Draw the overall shape of the table by dragging the pencil pointer to create a rectangular boundary.

When you release the mouse button, a table with a single cell is created. In addition, the Ribbon displays the Design tab under Table Tools.

3Carve the table into smaller cells.

For example, to split the table into two rows, point the cursor somewhere along the left edge of the table and then click and drag a line across the table to the right edge. When you release the mouse button, the table splits into two rows.

You can use this technique to continue carving up the table into smaller cells.

4Use the Line Style and Line Weight drop-down controls to change the style or size of lines in the table.

These controls are the top and middle buttons on the left side of the Draw Borders group, located on the Design tab under Table Tools. You can change the style of a line you’ve already drawn by tracing over the line with a new style.

5If you make a mistake, click the Eraser button and erase the mistaken line segment.

How To Draw A Line In Microsoft Word 2011 For Mac

The Eraser button is in the Draw Borders group and looks like a table with an eraser in the corner. Click the Draw Table button if you want to draw additional segments after using the Eraser tool.

6When you’re done, click anywhere outside of the table.