You use Visual Studio .NET to create a Windows-based application. The application includes a form named TestKingProcedures (TKP). TKP allows users to enter very lengthy text into a database. When users click the Print button located on TKP, this text must be printed by the default printer. You implement the printing functionality by using the native .NET System Class Libraries with all default settings. Users report that only the first page of the text is being printed. How should you correct this problem?

  1. In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True.

  2. In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.

  3. In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True.

  4. In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs object to True.


Correct Option: C

Find more quizzes: