ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / CreateImage Method / CreateImage(CellRange,EmfType) Method
C1.Win.C1FlexGrid.CellRange that specifies which cells should be included in the image.
System.Drawing.Imaging.EmfType value that determines the type of metafile to create.

In This Topic
    CreateImage(CellRange,EmfType) Method
    In This Topic
    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
    public Image CreateImage( 
       CellRange rg,
       EmfType emfType
    )

    Parameters

    rg
    C1.Win.C1FlexGrid.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.
    See Also