ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / CreateImage Method / CreateImage() Method

In This Topic
    CreateImage() Method
    In This Topic
    Creates an image of the entire grid.
    Syntax
    'Declaration
     
    Public Overloads Function CreateImage() As Image
    public Image CreateImage()

    Return Value

    An System.Drawing.Image object containing a metafile image of the grid.
    Remarks
    Use this method to copy grid images to the clipboard so you can paste them into documents or other applications.
    Example
    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:
    See Also