We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

retrieving image

How can I retrieve a 2D image from folder to picturebox during run time.
What should I do to print a badge?

1 Reply

AD Administrator Syncfusion Team November 8, 2006 05:00 AM UTC

Hi Roshni,

You can use the following code snippet for retrieve images from the folder during run time. Also refer the attached sample.

private void file1_SelectedIndexChanged(object sender, System.EventArgs e)
{
picture1.Image = Image.FromFile(dir1.Path + @"\" + file1.FileName);
}

Best regards,
Prabhu

ImageViewer.zip


>How can I retrieve a 2D image from folder to picturebox during run time.
What should I do to print a badge?

Loader.
Live Chat Icon For mobile
Up arrow icon