Spread Windows Forms 9.0 Product Documentation
IncrementValue Method


Current text string
Position index
Amount to increment
Whether to wrap to multiple lines
Initial value if blank
Result text string
Result input position
Increments or decrements (dependent on sign of "incrAmt") the value represented by the text.
Syntax
'Declaration
 
Function IncrementValue( _
   ByVal currText As String, _
   ByVal position As Integer, _
   ByVal incrAmt As Object, _
   ByVal wrapValueFlag As Boolean, _
   ByVal initValueIfBlank As Object, _
   ByRef resultText As String, _
   ByRef resultCaretPos As Integer _
) As Boolean
'Usage
 
Dim instance As IManageFmtInput
Dim currText As String
Dim position As Integer
Dim incrAmt As Object
Dim wrapValueFlag As Boolean
Dim initValueIfBlank As Object
Dim resultText As String
Dim resultCaretPos As Integer
Dim value As Boolean
 
value = instance.IncrementValue(currText, position, incrAmt, wrapValueFlag, initValueIfBlank, resultText, resultCaretPos)
bool IncrementValue( 
   string currText,
   int position,
   object incrAmt,
   bool wrapValueFlag,
   object initValueIfBlank,
   out string resultText,
   out int resultCaretPos
)

Parameters

currText
Current text string
position
Position index
incrAmt
Amount to increment
wrapValueFlag
Whether to wrap to multiple lines
initValueIfBlank
Initial value if blank
resultText
Result text string
resultCaretPos
Result input position
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

IManageFmtInput Interface
IManageFmtInput Members

 

 


Copyright © GrapeCity, inc. All rights reserved.