Rotate picturebox [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how in windows forms rotate picturebox element at 45 degrees

You can use Graphics.RotateTransform on the image.
Graphics graphic = Graphics.FromImage(myImage);
graphic.RotateTransform(45);

http://www.codeproject.com/KB/graphics/RotatePictureBox.aspx in that they clearly explained with sample

For the picture inside the picturebox, use Bitmap.FlipRotate method.

Related

Draw a 3D border [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to draw a 3D border (bevel) using GDI+, for example inside the Paint event of a Control. Should I write it by myself using DrawLine and KnownColors or there is something ready to use?
Thanks
Saied
What are you using to draw? GDI+ on WinForms? If that's the case you can use the ControlPaint.DrawBorder3D method, for example in the Paint event handler:
ControlPaint.DrawBorder3D(e.Graphics,
((Control)sender).ClientRectangle,
Border3DStyle.Bump);
See the Border3DStyle enumeration for the list of all available styles.

How to crop a part of a image [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
In c# how can I crop a part of a picture like they do in minecraft
thanks in advance
Use one of the Graphics.DrawImage overloads that allows you to select just part of the source, for example http://msdn.microsoft.com/en-us/library/ms142040.aspx
Draws the specified portion of the specified Image at the specified location and with the specified size.

How to translate this code from Windows Form to WPF? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
http://www.gutgames.com/post/Adjusting-Brightness-of-an-Image-in-C.aspx
Can anybody help me please?
The graphics class does not work in WPF
It doesn't need to be changed. Use an Image element, set the source in code to the resulting bitmap type.

wpf 3D animation [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can I use WPF to import a 3D character and manually animate it like the skinned model
in XNA?
The short answer is no. There is no standard library in WPF which will support this.
The long answer is Yes; if you write all of the underlying code yourself.

How to converting BMP to AVI C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to print screen 24 times in 1 second and then convert to AVI or VMW. İT's like video capture. is that possible ?
Check out the Expression Encoder SDK which allows you to do (live) video capturing from the screen in C#/.Net.

Categories