Page Rank

Subscribe

Categories

Recent posts

Alexa Rank

Save the image to system from PictureBox in C#


  • This topic helps you to save the image from the pictureBox to system using C# programming.
  • Save the image is done with the help of SaveFileDialog component in your application.
  • You can save the image in any format.
  • Tools Needed: Button1 (Button1), SaveFileDialog1 (SaveFileDialog1), PictureBox1 (PictureBox1).

SaveFileDialog ClassSave the image to system from PictureBox in C#

  • Help the user to select a location for saving a file.
  • This class cannot be inherited.

Namespace:  System.Windows.Forms

Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

  • Syntax for SaveFileDialog

CommonDialog.ShowDialog MethodSave the image to system from PictureBox in C#

  • Help to run a common dialog box with a default owner.

Namespace:  System.Windows.Forms

Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

  • Syntax for ShowDialog

FileDialog.FileName PropertySave the image to system from PictureBox in C#


  • Helps to sets a string containing the file name selected in the file dialog box.
  • Syntax

FileDialog.Filter PropertySave the image to system from PictureBox in C#

  • Help to get or set the current file name filter string, which determines the choices that appear in the “Save as file type” or “Files of type” box in the dialog box.
  • The file filtering options are available in the dialog box.

FileDialog.Title PropertySave the image to system from PictureBox in C#

  • Help to assign the file dialog box title
  • Syntax

SaveFileDialog.OpenFile Method Save the image to system from PictureBox in C#

  • Helps to open the file with read or write permission selected by the user.
  • Syntax

Save the image to system from PictureBox in C#Complete Code

C# PictureBox - Related Topics

C# SaveFileDialog - Related Topics

C# Files and Directory - Related Topics

Save the image to system from PictureBox in C#


VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">