c sharp picture box

Picture box control is used in C# Form applications to display A  Picture in C# windows Form Application. Like all controls To use Picture in C# Windows Form just click on Picture box in control box .
Now by giving to its properties select a source picture or logo .


PictureBox class represents a PictureBox control. The following code snippet creates a PictureBox, sets its width and height and adds control to the Form by calling Controls.Add() method. 

SizeMode
SizeMode property is used to position an image within a PictureBox. It can be Normal, StretchImage, AutoSize, CenterImage, and Zoom. The following code snippet sets SizeMode property of a PictureBox control.

No comments:

Post a Comment

Sending SMS Via Windows Form Application Using any Android Smart Phone  Source Code  using System ; using System . C...