TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kavi suja
NA
298
171.1k
Save image(in picture box) in to a file
May 6 2013 7:23 AM
Hi,
I done code for free hand drawing in ASP.Net C#(Windows App).I have to store that image in DB when I clicking that button. But i don't have idea about it.Help me guys... I draw th image in picture box. The code for save button is following:
ImageFormat format = ImageFormat.Jpeg;
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "Jpeg Format(*.Jpeg)|*.Jpeg";
if (sfd.ShowDialog() == DialogResult.OK)
{
//shapePB.Image.Save(sfd.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
shapePB.Image.Save(sfd.FileName, format);
}
Here shapePB is a pictureBox.
Thanks in Advance
Kavisuja.M
Reply
Answers (
2
)
How to Save the puzzle in cookie?
Asp.Net RadioButtons