ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / CreateImage Method / CreateImage(Int32,Int32,Int32,Int32,EmfType) Method
Top row in the range.
Left column in the range.
Bottom row in the range.
Right column in the range.
System.Drawing.Imaging.EmfType value that determines the type of metafile to create.

In This Topic
    CreateImage(Int32,Int32,Int32,Int32,EmfType) Method
    In This Topic
    Creates an image of a portion of the grid.
    Syntax
    'Declaration
     
    Public Overloads Function CreateImage( _
       ByVal topRow As Integer, _
       ByVal leftCol As Integer, _
       ByVal bottomRow As Integer, _
       ByVal rightCol As Integer, _
       ByVal emfType As EmfType _
    ) As Image
    public Image CreateImage( 
       int topRow,
       int leftCol,
       int bottomRow,
       int rightCol,
       EmfType emfType
    )

    Parameters

    topRow
    Top row in the range.
    leftCol
    Left column in the range.
    bottomRow
    Bottom row in the range.
    rightCol
    Right column in the range.
    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