Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
GeneralRe: System-wide CBT in .NET? Pin
Hadi Fakhreddine24-Nov-04 20:50
Hadi Fakhreddine24-Nov-04 20:50 
QuestionHow to Update Primary keys? Pin
Old Gun23-Nov-04 21:22
Old Gun23-Nov-04 21:22 
AnswerRe: How to Update Primary keys? Pin
sreejith ss nair24-Nov-04 3:59
sreejith ss nair24-Nov-04 3:59 
AnswerRe: How to Update Primary keys? Pin
Heath Stewart24-Nov-04 6:14
protectorHeath Stewart24-Nov-04 6:14 
GeneralHave no node selected or Hide Tree view first Node Pin
tejas_kan23-Nov-04 20:45
tejas_kan23-Nov-04 20:45 
GeneralRe: Have no node selected or Hide Tree view first Node Pin
Daniel Turini24-Nov-04 1:04
Daniel Turini24-Nov-04 1:04 
GeneralRe: Have no node selected or Hide Tree view first Node Pin
Anonymous24-Nov-04 1:11
Anonymous24-Nov-04 1:11 
QuestionDoes Font.Height or Font.GetHeight() return correct font height? Pin
sachinkalse23-Nov-04 19:08
sachinkalse23-Nov-04 19:08 
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. Confused | :confused:

Please guide.
AnswerRe: Does Font.Height or Font.GetHeight() return correct font height? Pin
Heath Stewart24-Nov-04 6:11
protectorHeath Stewart24-Nov-04 6:11 
GeneralQuick question on hotkeys Pin
Flack23-Nov-04 16:27
Flack23-Nov-04 16:27 
GeneralRe: Quick question on hotkeys Pin
benjymous23-Nov-04 22:32
benjymous23-Nov-04 22:32 
GeneralNeed help accessing an Excel range of cells Pin
Flack23-Nov-04 16:25
Flack23-Nov-04 16:25 
GeneralRe: Need help accessing an Excel range of cells Pin
Heath Stewart24-Nov-04 6:04
protectorHeath Stewart24-Nov-04 6:04 
GeneralVB to C# Pin
npqk23-Nov-04 16:17
npqk23-Nov-04 16:17 
GeneralRe: VB to C# Pin
Nick Parker23-Nov-04 16:34
protectorNick Parker23-Nov-04 16:34 
GeneralRe: VB to C# Pin
Dave Wengier23-Nov-04 17:09
Dave Wengier23-Nov-04 17:09 
GeneralRe: VB to C# Pin
npqk23-Nov-04 17:47
npqk23-Nov-04 17:47 
GeneralRe: VB to C# Pin
Daniel Turini24-Nov-04 0:57
Daniel Turini24-Nov-04 0:57 
GeneralRe: VB to C# Pin
Heath Stewart24-Nov-04 5:58
protectorHeath Stewart24-Nov-04 5:58 
Generalremote ip Pin
Pyro Joe23-Nov-04 15:41
Pyro Joe23-Nov-04 15:41 
GeneralRe: remote ip Pin
Stefan Troschuetz23-Nov-04 22:48
Stefan Troschuetz23-Nov-04 22:48 
Questioncan I assign custom shortcuts to MenuItem.ShortCut? Pin
Anonymous23-Nov-04 14:06
Anonymous23-Nov-04 14:06 
AnswerRe: can I assign custom shortcuts to MenuItem.ShortCut? Pin
benjymous23-Nov-04 22:08
benjymous23-Nov-04 22:08 
GeneralRe: can I assign custom shortcuts to MenuItem.ShortCut? Pin
Heath Stewart24-Nov-04 5:53
protectorHeath Stewart24-Nov-04 5:53 
AnswerRe: can I assign custom shortcuts to MenuItem.ShortCut? Pin
Heath Stewart24-Nov-04 5:45
protectorHeath Stewart24-Nov-04 5:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.