Really-Really Sorry rnendel11

It just my mistake I paste wrong code snippet for *For Button Rotate* in my
previous post so sorry 

the code for rotate on button click event is 

public float OnRotateClick (UIImageView imgview, float deg, string 
btnNames, out float _wdth, out float _hgt)
                {               
                        _wdth = imgview.Frame.Width;
                        _hgt = imgview.Frame.Height;
                        SizeF _imgFrameSize = new SizeF (Width, Height);
                        imgview.Frame.Size = _imgFrameSize;
                        if (btnNames == "Rotate R")
                        {       
                                
                                Angle = deg + 90;
                                imgview.Transform = 
CGAffineTransform.MakeRotation (Angle *
(float)Math.PI / 180);
                                return Angle;
                                
                        }  else
                        {
                                Angle = deg - 90;
                                imgview.Transform = 
CGAffineTransform.MakeRotation (Angle *
(float)Math.PI / 180);
                                return Angle;
                        }
                }

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/I-want-perform-both-Zoom-and-Rotate-operations-simultaneously-tp4655829p4655863.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to