PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

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. You are creating a custom dialog box that allows designers to preview designs before printing them.
The previewed documents must meet the following requirements:
* The graphics and text are displayed clearly.
* The full-scale preview is set as default for the documents.
* 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?

PrepAway - Latest Free Exam Questions & Answers

A.
printPreviewControl1.UseAntiAlias = true;
printPreviewControl1.AutoZoom = true;
printPreviewControl1.Zoom = 1.0;

B.
printPreviewControl1.UseAntiAlias = true;
printPreviewControl1.AutoZoom = true;
printPreviewControl1.Zoom = 100.0;

C.
printPreviewControl1.UseAntiAlias = true;
printPreviewControl1.AutoZoom = false;
printPreviewControl1.Zoom = 1.0;

D.
printPreviewControl1.UseAntiAlias = false;
printPreviewControl1.AutoZoom = false;
printPreviewControl1.Zoom = 100.0;


Leave a Reply