FlexGrid for WinForms
CreateImage(CellRange,EmfType) Method



CellRange that specifies which cells should be included in the image.
System.Drawing.Imaging.EmfType value that determines the type of metafile to create.
Creates an image of a portion of the grid.
Syntax
'Declaration
 
Public Overloads Function CreateImage( _
   ByVal rg As CellRange, _
   ByVal emfType As EmfType _
) As Image
'Usage
 
Dim instance As C1FlexGridBase
Dim rg As CellRange
Dim emfType As EmfType
Dim value As Image
 
value = instance.CreateImage(rg, emfType)
public Image CreateImage( 
   CellRange rg,
   EmfType emfType
)
public:
Image^ CreateImage( 
   CellRange rg,
   EmfType emfType
) 

Parameters

rg
CellRange that specifies which cells should be included in the image.
emfType
System.Drawing.Imaging.EmfType value that determines the type of metafile to create.

Return Value

An System.Drawing.Image object containing a metafile image of the grid.
Remarks
The image returned includes any fixed and frozen cells in addition to the specified range.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback