in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Producing an image from a layout control.

Last post 11/5/2008 7:38 AM by Sam Eastburn. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 11/4/2008 11:35 AM

    Producing an image from a layout control.

    Is there any way that I can create an Image as a sort of preview to a page from a layout control?

     

    Kind Regards

     

    Sam

     

  • 11/4/2008 2:19 PM In reply to

    • Pavel
    • Top 200 Contributor
    • Joined on 7/5/2007
    • Posts 55

    Re: Producing an image from a layout control.

    Answer

    Try the System.Windows.Forms.Control.DrawToBitmap method. It works with any control even with the XtraLayoutControl.

    WPF HATER BLOG
    http://wpfhater.blogspot.com/
  • 11/5/2008 7:38 AM In reply to

    Re: Producing an image from a layout control.

    Thanks that was exactly what I was looking for.Smile

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED