Welcome to the FoxLearn
Today we will learn how to print a picture
First, We will design a simple UI that allows you to select an image,
and display in a picture box control, then you can print the picture
An OpenFileDialog control is used to browse and select a file on a computer
We can create an OpenFileDialog control using a Forms designer at design-time or using the OpenFileDialog class in code at run-time.
You need to create an instance to PrintDialog, then set printdocument to PrintDialog
Now, you can select a printer to print the image or export the image to pdf file
Thank you for watching this video