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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

retrieving image

Thread ID:

Created:

Updated:

Platform:

Replies:

51408 Nov 4,2006 05:01 AM UTC Nov 8,2006 05:00 AM UTC Windows Forms 1
loading
Tags: FAQ
roshni rajan
Asked On November 4, 2006 05:01 AM UTC

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

Administrator [Syncfusion]
Replied On 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?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;