Multiple choice .net

Which object must be assigned to the Document property?

  1. Document

  2. DocumentPage

  3. DocumentPrint

  4. PageDocument

  5. PrintDocument

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

The Document property of printing-related controls must be assigned a PrintDocument object, which defines what and how to print. The other options (Document, DocumentPage, DocumentPrint, PageDocument) are not standard .NET classes for this purpose. PrintDocument encapsulates the document content and printing logic.