单项选择题
You are creating a Windows Forms application for the design of circuit boards and electronic equipment. You use the .NET Framework 3.5 to create the application x that allows designers to preview designs before printing them.The previewed documents must meet the following requirements:
(1)The graphics and text are displayed clearly.
(2)The fullscale preview is set as default for the documents.
(3)The zoom setting of the preview control is adjusted automatically when the form is resized.
You need to ensure that the requirements are met when the form that contains the custom print preview control is displayed.
Which code segment should you use?()
A.A
B.B
C.C
D.D
相关考题
-
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5. The application is configured to use rolebased security.You need to ensure that users can print reports only by selecting a printer from the printer dialog box. You want to achieve this goal by using the minimum level of permission. Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
You are creating a Windows Forms application that has the print functionality by using the .NET Framework 3.5. You implement the PrintPage page event for the form.You associate an instance of the PrintDocument control along with an instance of the PrintPreviewDialog control named prevDialog1.You want to set the default size of the PrintPreviewDialog class to full screen. You need to provide a print preview for the user by adding a code segment to the Click event of the button on the form. Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application.You add a PrintDocument control named pntDoc to the form.To support the print functionality, you write the following code segment in the application (Line numbers are included for reference only.) You need to ensure that the following requirements are met: (1)When the user has no print access, font and file stream initializations are not executed and the print operation is cancelled (2)Print operations are logged whether or not the user has print access What should you do?()
A.A
B.B
C.C
D.D
