SaveScreenShot

Top  Previous  Next

Saves the screenshot of grid - - either the full gird or a sub grid - to an image file.

[Visual Basic .NET]

Public Function SaveScreenShot(ByVal  ImgFileName As String,

                                                ByVal  ImgFormat As ImageFormat) As Boolean

[C#]

public bool SaveScreenShot(string ImgFileName,

                                         ImageFormat ImgFormat);

Parameters

ImgFileName

Specifies the physical file name that contains the screenshot of grid.

ImgFormat

Specifies image format (e.g. BMP, GIF, PNG, etc.).

 

 

Return Value:

The return value is TRUE if the action succeeds; otherwise it is FALSE.

For cascade mode, the return value is FALSE and no screenshot can be saved until a sub grid is clicked and expanded.

GetCurrGridIndex_2