Home » Microsoft » 70-518 » What should you do?
You are developing an application by using Windows Forms and Microsoft NET Framework 4. The user interface (UI) of the application can be resized. You need to ensure that the images in the application scale to the entire height and width of the UI without degradation.
What should you do?
A. Convert the images to PNG format.
B. Use a Picture Box control.
Set the Size Mode property to use auto-sizing.
C. Use an Element Host control.
Convert the images to XAML-based images.
D. Use a Picture Box control.
Add events to resize the control based on the size of the main UI form.
Correct Answer: C
Explanation/Reference:
If you using SVG (two dimensional vctor graphic in XML), youy can get image without degradation when you resize it.
Reference:
Definitions:
SVG stands for Scalable Vector Graphics.
SVG defines graphics in XML format.
. SVG stands for Scalable Vector Graphics
. SVG is used to define vector-based graphics for the Web
. SVG defines the graphics in XML format
. SVG graphics do NOT lose any quality if they are zoomed or resized
. Every element and every attribute in SVG files can be animated
. SVG is a W3C recommendation
. SVG integrates with other W3C standards such as the DOM and XSL