U
U
Username2016-03-31 22:26:19
C++ / C#
Username, 2016-03-31 22:26:19

How to set picturebox dimensions to the size of the drawn information?

Good afternoon, it is necessary that the size of the pictureBox does not exceed the size of the input information.
For example, in a pictureBox, I enter text and then save the picture, and as a result, white stripes remain at the edges of the image. How to get rid of it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseniy Efremov, 2016-04-01
@arusef

The PictureBox.SizeMode property allows you to control the display of a picture inside a PictureBox. For example, you can "tile" the image, or stretch to fit the control itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question