Skip to content

ITextStudioWordBoundaryProvider

InterfaceTextStudioTextStudio
public interface ITextStudioWordBoundaryProvider

Optional per-host language tailoring. Return a UTF-16 end offset on a text-unit boundary.

int GetWordEnd(string text, int start)

Returns a language-tailored word end as a UTF-16 offset on a text-unit boundary for the supplied starting offset.

Parameters

Name Type
text System.String
start System.Int32

Returns

System.Int32