ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / CellStyle Class / Render Method / Render(Graphics,Rectangle,Image,DrawColorMode) Method
System.Drawing.Graphics object to render into.
Area where the element will be displayed.
Image to render.
Rendering color mode.

In This Topic
    Render(Graphics,Rectangle,Image,DrawColorMode) Method
    In This Topic
    Renders a string and an image into a System.Drawing.Graphics object using this style.
    Syntax
    'Declaration
     
    Public Overloads Sub Render( _
       ByVal g As Graphics, _
       ByVal rc As Rectangle, _
       ByVal img As Image, _
       Optional ByVal colorMode As DrawColorMode _
    ) 
    public void Render( 
       Graphics g,
       Rectangle rc,
       Image img,
       DrawColorMode colorMode
    )

    Parameters

    g
    System.Drawing.Graphics object to render into.
    rc
    Area where the element will be displayed.
    img
    Image to render.
    colorMode
    Rendering color mode.
    See Also