[]
        
(Showing Draft Content)

C1.Win.C1SpellChecker.ISpellCheckableRichEditor.GetBaselineOffset

GetBaselineOffset Method

GetBaselineOffset(CharRange)

Gets the distance in pixels between the Y position returned by GetPositionFromCharIndex(int) and the baseline where the red underline is to be painted.

Declaration
int GetBaselineOffset(CharRange range)
Parameters
Type Name Description
CharRange range

CharRange that contains the text.

Returns
Type Description
int

The distance between the top of the text and the baseline.