Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / SpreadChartExtension Class / CanPasteChartModel Method
The source chartModel.
The target chartModel.


In This Topic
    CanPasteChartModel Method
    In This Topic
    Determines whether we can paste source chartModel to destination ChartModel When export, chartEx exported with ChartEx schema, old chart exported with Chart schema So should not copied ChartEx to OldChart and vice versa
    Syntax
    'Declaration
     
    
    Public Function CanPasteChartModel( _
       ByVal source As ChartModel, _
       ByVal target As ChartModel _
    ) As Boolean
    'Usage
     
    
    Dim instance As SpreadChartExtension
    Dim source As ChartModel
    Dim target As ChartModel
    Dim value As Boolean
     
    value = instance.CanPasteChartModel(source, target)
    public bool CanPasteChartModel( 
       ChartModel source,
       ChartModel target
    )

    Parameters

    source
    The source chartModel.
    target
    The target chartModel.

    Return Value

    true if can paste otherwise, false.
    See Also