Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Question regarding calculating the size of the inner control

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Question regarding calculating the size of the inner control
Link Posted: 10-Oct-2005 04:44
Hi,

I'm using FlyGrid Control, as my application's table, tree etc.

I need to print the contents of the grid (all of its content and not only the visual part).

I want to use the PrintTo method in order to print the content into an image. In order to do that, I need to know the size of the image.

therefor, I need a way to calculate the size of the grid as if the grid was streched to show all of its content (without scroll bars).

Is there a way to calculate that?

thanks in advance for your help,
Avi[/b]
Link Posted: 10-Oct-2005 18:44
Currently FlyGrid.PrintTo is not supported and replaced by FlyGrid.ActivePort.PrintGrid method to print/preview FlyGrid. See the Print/Preview sample.