Skip to Main Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced content levelIntermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

Viewing Images

You use the System.Windows.Controls.Image control to show images. To see how the control works, create a new WPF project that will be used for all examples in this chapter and name it DocumentsAndMedia. When ready, drag an Image control from the toolbox onto the new Window; then set its dimensions as you like. To view an image, you need to set the Source property that points to a URI, but you might want to add some images to your project first. As for any other kind of project, it is a good idea to organize contents into subfolders based on their types. So, in Solution Explorer create a new project subfolder called Images. Right-click this folder and then select Add, Existing Item. When the dialog box appears, select the number ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book