1. Question: Which of the following methods is the best to use to draw a square with a solid color? - VB.NET

    A
    Graphics.DrawLines

    B
    Graphics.DrawRectangle

    C
    Graphics.DrawPolygon

    D
    Graphics.DrawEllipse

    E
    Graphics.FillRectangle

    F
    Graphics.FillPolygon

    G
    Graphics.FillEllipse

    Note: Not available
    1. Report
  2. Question: Which of the following methods is the best to use to draw an empty triangle? - VB.NET

    A
    Graphics.DrawLines

    B
    Graphics.DrawRectangle

    C
    Graphics.DrawPolygon

    D
    Graphics.DrawEllipse

    E
    Graphics.FillRectangle

    F
    Graphics.FillPolygon

    G
    Graphics.FillEllipse

    Note: Not available
    1. Report
  3. Question: Which of the following classes is required to draw an empty circle? (Choose all that apply.) - VB.NET

    A
    System.Drawing.Graphics

    B
    System.Drawing.Pen

    C
    System.Drawing.Brush

    D
    System.Drawing.Bitmap

    Note: Not available
    1. Report
  4. Question: Which of the following brush classes is the best to use to create a solid rectangle that is red at the top and gradually fades to white towards the bottom? - VB.NET

    A
    System.Drawing.Drawing2D.HatchBrush

    B
    System.Drawing.Drawing2D.LinearGradientBrush

    C
    System.Drawing.Drawing2D.PathGradientBrush

    D
    System.Drawing.SolidBrush

    E
    System.Drawing.TextureBrush

    Note: Not available
    1. Report
  5. Question: What type of line would the following code sample draw?
    Dim g As Graphics = Me.CreateGraphics
    Dim p As Pen = New Pen(Color.Red, 10)
    p.StartCap = LineCap.Flat
    p.EndCap = LineCap.ArrowAnchor
    g.DrawLine(p, 50, 50, 400, 50) - VB.NET

    A
    An arrow pointing up

    B
    An arrow pointing down

    C
    An arrow pointing left

    D
    An arrow pointing right

    Note: Not available
    1. Report
  6. Question: Which of the following classes could you use to display a JPEG image from an existing file in a form? (Choose all that apply.) - VB.NET

    A
    System.Drawing.Image

    B
    System.Drawing.Bitmap

    C
    System.Drawing.Imaging.Metafile

    D
    System.Windows.Forms.PictureBox

    Note: Not available
    1. Report
  7. Question: How can you draw a black border around a JPEG image that you have saved to disk and then save the updated image back to the disk? - VB.NET

    A
    Create a Graphics object by loading the JPEG image from the disk. Draw the border by calling Graphics.DrawRectangle. Finally, save the updated image by calling Graphics.Save.

    B
    Create a Bitmap object by loading the JPEG image from the disk. Draw the border by calling Bitmap.DrawRectangle. Finally, save the updated image by calling Bitmap.Save.

    C
    Create a Bitmap object by loading the JPEG image from the disk. Create a Graphics object by calling Graphics.FromImage. Draw the border by calling Graphics.DrawRectangle. Finally, save the updated image by calling Bitmap.Save.

    D
    Create a Bitmap object by loading the JPEG image from the disk. Create a Graphics object by calling Bitmap.CreateGraphics. Draw the border by calling Graphics.DrawRectangle. Finally, save the updated image by calling Bitmap.Save.

    Note: Not available
    1. Report
  8. Question: Which format is the best choice to use if you want to save a photograph that could be opened by a wide variety of applications? - VB.NET

    A
    ImageFormat.Bmp

    B
    ImageFormat.Gif

    C
    ImageFormat.Jpeg

    D
    ImageFormat.Png

    Note: Not available
    1. Report
  9. Question: Which format is the best choice to use if you want to save a pie chart that could be opened by a wide variety of applications? - VB.NET

    A
    ImageFormat.Bmp

    B
    ImageFormat.Gif

    C
    ImageFormat.Jpeg

    D
    ImageFormat.Png

    Note: Not available
    1. Report
  10. Question: What are the steps for adding text to an image? - VB.NET

    A
    Create a Graphics object and a string object. Then call string.Draw.

    B
    Create a Graphics object, a Font object, and a Brush object. Then call Graphics.DrawString.

    C
    Create a Graphics object, a Font object, and a Pen object. Then call Graphics.DrawString.

    D
    Create a Bitmap object, a Font object, and a Brush object. Then call Bitmap.DrawString.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd