Give a statement that draws a red diagonal from the upper-left corner of the picture box to the lower-right corner.

(A) ``` gr.DrawLine(Color.Red, 0, 0, picOutput.Width, picOutput.Height)
```
(B) ``` gr.DrawLine(Pens.Red, 0, 0, picOutput.Height, picOutput.Width)
```
(C) ``` gr.DrawLine(Pens.Red, 0, 0, picOutput.Width, picOutput.Height)
```
(D) gr.DrawLine(Pens.Blue, picOutput.Width/2, 0, 0, picOutput.Height/2)


(A) ``` gr.DrawLine(Color.Red, 0, 0, picOutput.Width, picOutput.Height)
```

Computer Science & Information Technology

You might also like to view...

What Gestalt principles contribute to the organization of the window depicted in the following figure? Explain.

Computer Science & Information Technology

Prove that cautious waiting avoids deadlock.

What will be an ideal response?

Computer Science & Information Technology

The Microsoft Office Clipboard can hold up to ________ items

A) 12 B) 24 C) 100 D) 50

Computer Science & Information Technology

What does the keyword public mean in a class declaration?

A. public functions can only be seen by other class members. B. public members can be seen by any other parts of the program and accessed via an object. C. public functions cannot see any other parts of the class. D. public members can only be seen by other class members.

Computer Science & Information Technology