VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.Spreadsheet Namespace / SpreadsheetFindReplace Class / Init(SpreadsheetEditor,String,Worksheet,CellReference,CellReferences[],Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
Init(SpreadsheetEditor,String,Worksheet,CellReference,CellReferences[],Int32) Method (SpreadsheetFindReplace)
In This Topic
Initializes this class.
Syntax
'Declaration

Public Sub Init( _
ByVal editor
The spreadsheet editor.
As SpreadsheetEditor, _
ByVal text
The text to find.
As System.String, _
ByVal startWorksheet
The starting worksheet.
As Vintasoft.Imaging.Office.Spreadsheet.Document.Worksheet, _
ByVal startCell
The starting cell reference. Can be null.
As Vintasoft.Imaging.Office.Spreadsheet.Document.CellReference, _
ByVal selectedCells
The selected cells. Can be null.
() As Vintasoft.Imaging.Office.Spreadsheet.Document.CellReferences, _
ByVal selectedCellsIndex
The index of start cell in selectedCells.
As System.Int32 _
)

Parameters

editor
The spreadsheet editor.
text
The text to find.
startWorksheet
The starting worksheet.
startCell
The starting cell reference. Can be null.
selectedCells
The selected cells. Can be null.
selectedCellsIndex
The index of start cell in selectedCells.
Exceptions
ExceptionDescription
Thrown if editor or startWorksheet is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also