Search the Community
Showing results for tags 'font'.
Found 3 results
I am using the Canvas component to center some text features among custom graphics. I call Draw.SetFont() and Draw.GetTextExtent() to calculate text positions before drawing. However, GetTextExtent() seems to report the same pixel size regardless of the font size chosen. Since SetFont() does not use a DC argument, I tried a dummy TextOut() using the chosen font to see if that would set the DC before calling GetTextExtent. It did not work either, so any help is appreciated. Thanks. (ver. 2203/2224/2229)
I have both a combo box and radio button array on a single page. I needed to dramatically increase the font size of the radio buttons so that they would align horizontally to some existing objects. I increases the size to 26 within the Properties screen of the radio buttons. After doing this I noticed that the prompt within my existing combo box grew to the same size of the buttons. Why are these two unique objects sharing the same chosen font? Is there anyway I can get around this? Thanks for your support...