Search found 3 matches

by amethyst623
Sat Dec 17, 2011 2:32 am
Forum: Support
Topic: font qulalitiy
Replies: 1
Views: 7199

font qulalitiy

is there a method to set the font quality for text in the richviewedit? LOGFONT logFont; logFont.lfHeight = 8; logFont.lfWidth = 0; logFont.lfEscapement = 0; logFont.lfOrientation = 0; logFont.lfWeight = FW_NORMAL; logFont.lfItalic = 0; logFont.lfUnderline = 0; logFont.lfStrikeOut = 0; logFont ...
by amethyst623
Fri Dec 16, 2011 2:43 pm
Forum: Support
Topic: how can i get rectangle of a character, not a text item
Replies: 2
Views: 8723

Sergey Tkachenko wrote:Positions of characters are not stored. They can be calculated, but it's quite complicated (and the code will be different when RTL support is enabled and disabled).
If you need to select a character, use SetSelectionBounds method.
would you tell me how to get the nth character coordinates?
by amethyst623
Wed Sep 28, 2011 3:14 pm
Forum: Support
Topic: how can i get rectangle of a character, not a text item
Replies: 2
Views: 8723

how can i get rectangle of a character, not a text item

hi,
how can i get rectangle of a character, not a text item, not a word in TRichViewEdit?

GetItemClientCoords returns coordinates of item.

or how to select a character in a word by code?