Checking It

Select the correct answer to the following questions.

Multiple Choice

1:A PrintDocument object can be added to a form using:
  1. Visual Studio .NET drag and drop from the Toolbox.

  2. Manually adding a PrintDocument data member to a form in the code.

  3. Manually creating a custom PrintDocument class and adding an instance of this class to a form as a data member.

  4. All of the above.

2:Which dialogs are used for printing?
  1. OpenFileDialog.

  2. PrintDialog.

  3. SaveFileDialog.

  4. None of the above.

3:The MarginBounds property on the PrintPageEventArgs is:
  1. The size of the margins on the printed page.

  2. The area in which printing can occur on a page (excluding margin area). ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.