Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / Attach Method
A Workbook object to attach to the spread control.


In This Topic
    Attach Method (FpSpread)
    In This Topic
    Attachs a Workbook object to the spread control.
    Syntax
    'Declaration
     
    
    Public Function Attach( _
       ByVal workbook As IWorkbook _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim workbook As IWorkbook
    Dim value As Boolean
     
    value = instance.Attach(workbook)
    public bool Attach( 
       IWorkbook workbook
    )

    Parameters

    workbook
    A Workbook object to attach to the spread control.

    Return Value

    true if the specified workbook is attached to this FpSpread, false otherwise.
    See Also