Documents for PDF, .NET Edition Documentation
MapCharRangeToCodePoints Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > TextLayout Class : MapCharRangeToCodePoints Method
Inputs the character index of the range start, outputs the code point index of the range start.
Inputs the number of characters in the range, outputs the number of code points in the range.
Maps a character range to the corresponding code point range.
Syntax
'Declaration
 
Public Function MapCharRangeToCodePoints( _
   ByRef index As System.Integer, _
   ByRef count As System.Integer _
) As System.Boolean
public System.bool MapCharRangeToCodePoints( 
   ref System.int index,
   ref System.int count
)

Parameters

index
Inputs the character index of the range start, outputs the code point index of the range start.
count
Inputs the number of characters in the range, outputs the number of code points in the range.

Return Value

True if the resulting range contains at least one code point, false otherwise.
See Also

Reference

TextLayout Class
TextLayout Members