Deck 26: Checkwriter Application
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/21
Play
Full screen (f)
Deck 26: Checkwriter Application
1
Access the ____property of a PrintPageEventArgs object to draw graphics.
A) Graphics
B) PrintPage
C) Document
D) PrintDocument
E) None of the above.
A) Graphics
B) PrintPage
C) Document
D) PrintDocument
E) None of the above.
Graphics
2
The________ class contains properties and methods that determine the appearance of text.
A) Font
B) Pencil
C) Type
D) Text
E) Style
A) Font
B) Pencil
C) Type
D) Text
E) Style
Font
3
The four ARGB components are represented by int values in the range_____ .
A) 0-128
B) 0-64
C) 0-255
D) 1-255
E) None of the above.
A) 0-128
B) 0-64
C) 0-255
D) 1-255
E) None of the above.
0-255
4
A _______object specifies the line style used to draw a shape.
A) Brush
B) Pencil
C) Pen
D) Stencil
E) Line
A) Brush
B) Pencil
C) Pen
D) Stencil
E) Line
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
5
The PrintDocument object can raise a ____event.
A) Print
B) HasMorePages
C) NextPage
D) PrintPage
E) All of the above.
A) Print
B) HasMorePages
C) NextPage
D) PrintPage
E) All of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following arguments may be specified for a Font constructor?
A) font family
B) font size
C) font style
D) the unit of measurement that determines the font size
E) All of the above.
A) font family
B) font size
C) font style
D) the unit of measurement that determines the font size
E) All of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
7
To change the font weight of a Font object, _____.
A) modify its Bold property
B) modify its Weight property
C) modify its FontWeight property
D) modify its Boldness property
E) None of the above. Font objects are immutable.
A) modify its Bold property
B) modify its Weight property
C) modify its FontWeight property
D) modify its Boldness property
E) None of the above. Font objects are immutable.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
8
GDI+ .
A) is a graphics API
B)
B) provides classes for creating and manipulating two-dimensional vector graphics
C) allows you to create graphics without worrying about the details of hardware
D) is comprised, in part, of the System.Drawing namespace
A) is a graphics API
B)
B) provides classes for creating and manipulating two-dimensional vector graphics
C) allows you to create graphics without worrying about the details of hardware
D) is comprised, in part, of the System.Drawing namespace
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
9
Use the_____ method of a Graphics object to draw the outline of a rectangle.
A) LineRectangle
B) DrawRectangle
C) Rectangle
D) DrawLineRectangle
E) None of the above.
A) LineRectangle
B) DrawRectangle
C) Rectangle
D) DrawLineRectangle
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
10
You can create your own colors using a Color structure's ______method.
A) Custom
B) CustomColor
C) new
D) FromArgb
E) None of the above.
A) Custom
B) CustomColor
C) new
D) FromArgb
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
11
At design time, a PrintPreviewDialog is displayed in________ .
A) the Solution Explorer
B) the component tray
C) the Server Explorer
D) the Properties window
E) None of the above.
A) the Solution Explorer
B) the component tray
C) the Server Explorer
D) the Properties window
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
12
The DrawString method requires you specify all of the following except _____.
A) a string containing the text to draw
B) the font to apply to the text
C) a Pen with which to draw the text
D) the position at which the first character of the text should be printed
E) None of the above.
A) a string containing the text to draw
B) the font to apply to the text
C) a Pen with which to draw the text
D) the position at which the first character of the text should be printed
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
13
A(n)_________ is the interface used by a program to access the operating system and various services on the computer.
A) API
B) GDI+
C) IDE
D) GUI
E) All of the above.
A) API
B) GDI+
C) IDE
D) GUI
E) All of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
14
A vector graphic does not describe a graphic's______ .
A) dimensions
B) pixel grid
C) attributes
D) position
E) All of the above.
A) dimensions
B) pixel grid
C) attributes
D) position
E) All of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
15
The______ property of a PrintPreviewDialog specifies the document to preview.
A) PrintDocument
B) Preview
C) PreviewDocument
D) Page
E) Document
A) PrintDocument
B) Preview
C) PreviewDocument
D) Page
E) Document
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
16
The_____ and_____ properties of a PrintPageEventArgs object specifies the top and left margins of the page to be printed.
A) Margin.Top, Margin.Left
B) MarginBounds.Top, MarginBounds.Left
C) MarginBounds.Height, MarginBounds.Width
D) Margin.Top, MarginBounds.Side
E) None of the above.
A) Margin.Top, Margin.Left
B) MarginBounds.Top, MarginBounds.Left
C) MarginBounds.Height, MarginBounds.Width
D) Margin.Top, MarginBounds.Side
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
17
If objControl is declared as a Control object, then the_____ property specifies the name of the control to which objControl refers.
A) GetType
B) Name
C) GetName
D) Text
E) None of the above.
A) GetType
B) Name
C) GetName
D) Text
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
18
To draw shapes or strings, you must specify the_____ to be used.
A) Brush or Pen
B) opacity and dithering
C) PaintBucket or Pencil
D) Color and PrintPage
E) None of the above.
A) Brush or Pen
B) opacity and dithering
C) PaintBucket or Pencil
D) Color and PrintPage
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
19
A process called _______uses small dots of existing colors to form a pattern that simulates a desired color when the precise color cannot be displayed.
A) blending
B) antialiasing
C) dithering
D) color-matching
E) transforming
A) blending
B) antialiasing
C) dithering
D) color-matching
E) transforming
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
20
Create a new ____object to handle the PrintPage event.
A) PrintPage
B) PrintPageEventHandler
C) Graphics
D) PrintDocument
E) PrintPreview
A) PrintPage
B) PrintPageEventHandler
C) Graphics
D) PrintDocument
E) PrintPreview
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
21
The_____ property determines how many printers are installed on the computer.
A) PrinterSettings.InstalledPrinters.Count
B) Printers.InstalledPrinters.Count
C) PrinterSettings.Printers.Count
D) PrinterSettings.InstalledPrinters.Number
E) None of the above.
A) PrinterSettings.InstalledPrinters.Count
B) Printers.InstalledPrinters.Count
C) PrinterSettings.Printers.Count
D) PrinterSettings.InstalledPrinters.Number
E) None of the above.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck