Home Forums WinForms controls Xceed Grid for WinForms Export to bitmap?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15203 |

    Does the Grid offer anything similar to the Chart’s RenderToBitmap functionality? I want to be able to save a grid as a bitmap. I was thinking I might be able to create a chart and add my grid to it, but I was hoping there was an easier way.

    Imported from legacy forums. Posted by Mike (had 2947 views)

    User (Old forums)
    Member
    Post count: 23064

    You can use the Reporting feature of the grid, and use the Export method so you can save it to a bitmap.

    e.g.:

    Report report = new Report( gridControl1 );
    report.Export( filename, format, overwrite, showProgressBar);

    Imported from legacy forums. Posted by André (had 297 views)

    User (Old forums)
    Member
    Post count: 23064

    I’m using .NET 2.0 and just noticed the new Control.DrawToBitmap method. If I place my Grid control inside of a UserControl, will the Grid render correctly when I call DrawToBitmap? Or do I have to use the Reporting feature to render the Grid to a bitmap?

    Imported from legacy forums. Posted by Mike (had 482 views)

    User (Old forums)
    Member
    Post count: 23064

    We haven’t experimented with this new method. You will have to experiment with it.

    Imported from legacy forums. Posted by André (had 3870 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.