Paragraph
NextGroup Method of the Paragraph Object
NextGroup method of the Paragraph Object in the ABBYY FineReader Engine API — Returns the index of the next character in the paragraph whose selected style parameters differ from the starting character (per a styleFlagMask).
This method returns the index of the next character in the paragraph for which the selected parameters differ from the character with which the search begins.
For example, if you set the value of the styleFlagMask parameter to SF_Bold (which means that the ICharParams::IsBold property should be taken into account) and the character with the position index is not bold, the method will return the index of the next bold character, and vice versa if the character with the position index is bold, the method will return the index of the next non-bold character.
