|
|
Rank: Member Groups: Member
Joined: 6/5/2007 Posts: 4 Points: 0
|
Hi,
I am using Graphics Mill and was wondering if, when drawing text, is it possible to change line height of the font that is being drawn?
Thanks,
Edgar
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 386 Points: 403
|
Hello Edgar, If you are using Aurigma.GraphicsMill.Drawing.GdiGraphics class, the size of the text is determined by size of the font object which you pass to the DrawString(...) method. Font size can be specified in the font object constructor or you can use Aurigma.GraphicsMill.Drawing.Font.Size property to change size of the existing font object.
Best wishes, Alex.
|
|
Rank: Member Groups: Member
Joined: 6/5/2007 Posts: 4 Points: 0
|
Hi Alex, Thanks for the reply, but what I was looking for was for a way to change the height of the gap between 2 lines of text. As an example with the following image, the gp that is beign shown as H4  Thanks! Edgar
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 386 Points: 403
|
Hi Edgar,
Unfortunatelly there is no way to change this height because Windows font renderer doesn't provide such parameters. The only thing I can suggest is to break your multiline text into separate strings and render them manually.
Best wishes, Alex.
|
|
|
Guest |