Click or drag to resize

imbEPPlusExtensionsSetValue Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets the value in cell on current cursor position

Namespace:  imbSCI.DataComplex.extensions.data
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static ExcelRange SetValue(
	this ExcelWorksheet sheet,
	cursor cur,
	Object value,
	bool doEnter = false,
	textCursorZoneCorner afterDirection = textCursorZoneCorner.Bottom
)
Request Example View Source

Parameters

sheet
Type: ExcelWorksheet
The sheet.
cur
Type: imbSCI.Core.reporting.zonecursor
The current.
value
Type: SystemObject
The value.
doEnter (Optional)
Type: SystemBoolean
if set to true [do enter].
afterDirection (Optional)
Type: imbSCI.Core.reporting.zonetextCursorZoneCorner
The after direction.

Return Value

Type: ExcelRange
Returns ExcelRange pointing to cell affected

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ExcelWorksheet. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also