Creates an image of the entire grid.
public Image CreateImage()
'Declaration
Public Overloads Function CreateImage() As Image
Return Value
An
System.Drawing.Image object containing a metafile image of the grid.
The code below creates an image of a grid range and saves it to a PNG file that can be included in other documents such as web pages:
Image img = flex.CreateImage(0,0,10,5);
img.Save(@"c:\temp\grid.png", System.Drawing.Imaging.ImageFormat.Png);