9.5. Test Your Understanding

 < Day Day Up > 

1:

Does Arial Bold refer to a font family, typeface, or font?

2:

What is the default unit of measurement for a font? What size is it (in inches)?

3:

Which method and enumeration are used to right justify an output string?

4:

When the following code is executed, what is the x coordinate where the third column begins?

 float[] tStops = {50f, 60f, 200f, 40f}; StringFormat sf = new StringFormat(); sf.SetTabStops(0,tStops); string hdr =  "Col1\tCol2\tCol3\tCol4"; g.DrawString(hdr, myFont, Brushes.Black, 10,10,sf); 

5:

Which PrintDocument event is called after PrintDocument.Print is executed?

6:

Which class available to the PrintPage event handler defines the margins for a page?

7:

What three steps must be included to permit a document to be previewed before printing?

     < Day Day Up > 


    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net