Ravi Kiran
March 29th, 1999, 01:51 AM
Hi Gurus,
I want to create a vertical drawing font, and want to use like any other font.
For Ex: I create a font and set it to the Font property of a label say. And i adjust the labels height & width props. Is it possoble for VB to then draw in that label with this 'Vertical' font.
They app i am wroking on is a graph drawing routine. and i want to use this vertical font for Y-axis's label and values drawing.
Win-Api 'CreateFont' with escapement & orientation as 900 gives a vertical drawing font. But the return value is of type HFont. How do i convert this HFONT to StdFont of VB? Thisway, i can set this to any control, and it should be able to paint itself vertically, i presume!.
Any ideas are most welcome.
Thanks
Ravi Kiran
I want to create a vertical drawing font, and want to use like any other font.
For Ex: I create a font and set it to the Font property of a label say. And i adjust the labels height & width props. Is it possoble for VB to then draw in that label with this 'Vertical' font.
They app i am wroking on is a graph drawing routine. and i want to use this vertical font for Y-axis's label and values drawing.
Win-Api 'CreateFont' with escapement & orientation as 900 gives a vertical drawing font. But the return value is of type HFont. How do i convert this HFONT to StdFont of VB? Thisway, i can set this to any control, and it should be able to paint itself vertically, i presume!.
Any ideas are most welcome.
Thanks
Ravi Kiran