PC Review


Reply
Thread Tools Rate Thread

Does Font.Height or Font.GetHeight() return correct font height?

 
 
=?Utf-8?B?U2FjaGlu?=
Guest
Posts: n/a
 
      24th Nov 2004
Both the above ways return the line spacing that includes the blank space
between lines along with the height of the character itself.
When I use the return value to calculate number of text lines to be inserted
in the document that I am creating, lets say it is 74 lines per page. But
after creating the page only 54 text lines get inserted in a page and rest of
the text lines get passed to next page.
In other words, word processor inserts its page break after 54 lines.
The font I am using is MS Gothic, size 11.0. When I convert it in Twips its
is 225 and Lenght of A4 size paper is 16833 Twips.
Thus to insert 54 lines per page the font height should be 311 Twips, where
as I get 225.
Please guide
--
sachin
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Font height and width =?Utf-8?B?cnds?= Microsoft Frontpage 2 14th Dec 2006 04:28 PM
Font Size and Height Bernard Bourée Microsoft Dot NET 0 14th Dec 2004 05:45 PM
Changing height of Font Michael Dorrian Microsoft C# .NET 1 3rd Feb 2004 03:12 AM
Re: Font.Height & ItemHeight Claes Bergefall Microsoft Dot NET Framework Forms 0 4th Aug 2003 09:35 AM
Re: Font.Height & ItemHeight Uriel Cohen Microsoft Dot NET Framework Forms 0 3rd Aug 2003 05:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:03 AM.