Exemplo n.º 1
0
        /// <summary>
        /// Gets the coordinates of specified character.
        /// </summary>
        /// <param name="index">Character index.</param>
        /// <returns>Character coordinates (local).</returns>
        public virtual Point GetCharacterPosition(int index)
        {
            Point p = text.GetCharacterPosition(index);

            return(new Point(p.X + text.X, p.Y + text.Y));
        }