Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Visualization Namespace / FunctionVisualizer Class / CreatePaintingContext Method


In This Topic
    CreatePaintingContext Method
    In This Topic
    Creates the painting context from the specified System.Drawing.Graphics object.
    Syntax
    'Declaration
     
    
    Protected Function CreatePaintingContext( _
       ByVal graphics As Graphics, _
       ByVal worksheet As IWorksheet _
    ) As IPaintingContext
    'Usage
     
    
    Dim instance As FunctionVisualizer
    Dim graphics As Graphics
    Dim worksheet As IWorksheet
    Dim value As IPaintingContext
     
    value = instance.CreatePaintingContext(graphics, worksheet)
    protected IPaintingContext CreatePaintingContext( 
       Graphics graphics,
       IWorksheet worksheet
    )

    Parameters

    graphics
    worksheet
    See Also