How about using scrollView.Layer.RenderInContext(ctx)? Try this:

UIGraphics.BeginImageContext(scrollView.Frame.Size);

CGContext ctx = UIGraphics.GetCurrentContext();


scrollView.Layer.RenderInContext(ctx);

UIImage image = UIGraphics.GetImageFromCurrentImageContext();

UIGraphics.EndImageContext();


Then do whatever you want with the UIImage object.

If that doesn't give you the clipped image you want, try rendering the
scroll view's parent layer instead. Hope this helps,

Ben
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to