Rank: Member
Groups: Guest
Joined: 6/4/2007(UTC) Posts: 4
|
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: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
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. Edited by user Tuesday, January 1, 2008 4:41:57 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Guest
Joined: 6/4/2007(UTC) Posts: 4
|
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: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
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. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.