Hello,
i want to change picturebox background image border changed to zigzag effect .
So please share the code for helpin c# winform application.
Hello,
i want to change picturebox background image border changed to zigzag effect .
So please share the code for helpin c# winform application.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Mar 21, 2023, 5:34 PM
You can use the following code :
Luv LPosted Mar 27, 2023, 1:37 PM
thanks great work.
Tuhin PaulPosted Mar 21, 2023, 5:35 PM
After creating the zigzag border, the Region of the PictureBox control is set to the GraphicsPath object, which applies the zigzag border to the background image. The AddZigZagToPath method is used to create a zigzag border using a GraphicsPath object. This method takes the GraphicsPath object, the Rectangle of the control, the amplitude (height) of the waves, and the wavelength (width) of the waves as parameters.