Searches document for start position of a word.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.5.21597

Syntax

C#
public virtual int NextWordStart(
	Document doc,
	int startIndex
)
Visual Basic
Public Overridable Function NextWordStart ( _
	doc As Document, _
	startIndex As Integer _
) As Integer

Parameters

doc
Type: Sgry.Azuki..::..Document
The document in which to search.
startIndex
Type: System..::..Int32
The index to start the search from.

Return Value

Index of start position of a word if found, or length of the document if no word was found.

Implements

IWordProc..::..NextWordStart(Document, Int32)

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiondoc is null.
System..::..ArgumentOutOfRangeExceptionstartIndex is less than 0 or greater than length of the document.

See Also