Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..IsNotDividableIndex Method (Int32)
Document Class See Also Send Feedback

Determines whether text should not be divided at given index or not.

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

# Syntax

C#
    public bool IsNotDividableIndex(
    	int index
    )

Visual Basic
    Public Function IsNotDividableIndex (
    	index As Integer
    ) As Boolean

#### Parameters

index
  Type: System..::..Int32
  The index to determine whether it points to middle of an undividable character sequence or not.

#### Return Value

Type: Boolean
Whether charcter sequence can not be divided at the index or not.

# Remarks

This method determines whether text should not be divided at given index or not. To seek grapheme clusters in a document one by one, please consider to use NextGraphemeClusterIndex(Int32) and PrevGraphemeClusterIndex(Int32). ("Grapheme cluster" is a sequence of characters which consists one "user perceived character" such as 'À' - sequence of U+0041 and U+0300, a capital 'A' with grave.)

The sequences which should not be divided are:

- CR+LF
- Surrogate pair
- Combining character sequence
- Variation sequence (including IVS)

# See Also

Document Class
Document..::..Document Members
IsNotDividableIndex Overload
Sgry.Azuki Namespace
Document..::..NextGraphemeClusterIndex(Int32)
Document..::..PrevGraphemeClusterIndex(Int32)