#1   Report Post  
Posted to microsoft.public.word.pagelayout
Ashish via OfficeKB.com
 
Posts: n/a
Default Header Height

How to calculate Header Text height of a page programmatically and in general?

i.e.How much text is allowed in the header without expanding Header
automatically?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ayout/200512/1
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom
 
Posts: n/a
Default Header Height

In FilePage Setup, you specify the top margin and a "From edge" value
which determines how far down from the page edge the header should
begin. So, assuming that "From edge" is smaller than the top margin,
the header height should be the top margin minus the value for "From
edge".

Note that the header area will grow to accommodate "excess" text. In
other words, its height is really dependent on the font, font size,
line spacing, and paragraph spacing of the text inside it. This also
applies if "From edge" is larger than the value for the top page
margin.

--
Stefan Blom
Microsoft Word MVP


"Ashish via OfficeKB.com" wrote in message
news:5935413423250@uwe...
How to calculate Header Text height of a page programmatically and
in general?

i.e.How much text is allowed in the header without expanding Header
automatically?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ayout/200512/1











  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
 
Posts: n/a
Default Header Height

As Stefan has pointed out, the header expands automatically with any amount
of text. It expands downward rather than upward, however; the header margin
specifies where the top line of the header will be. As a general rule, using
Word's default font, Header style, and margins (1" Top and 0.5" Header), you
can get two lines of header text before it starts intruding on the document
body. Anything more than one line will really be uncomfortably close to the
document body.

If you want to maintain a specified distance between the header and the
text, regardless of the depth of the header, the best plan is to add this
amount to the Header style as Space After, which will ensure that the header
paragraph will always (if necessary) push the document body down enough to
leave this space. If Space After is added to the Header style, make sure to
use line breaks rather than paragraph breaks within the header. Otherwise,
add the space only to the last line in the header.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Ashish via OfficeKB.com" u16748@uwe wrote in message
news:5935413423250@uwe...
How to calculate Header Text height of a page programmatically and in

general?

i.e.How much text is allowed in the header without expanding Header
automatically?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ayout/200512/1


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
On merge,"Same as Previous" re-enabled and section2 header overwri Warewell Mailmerge 1 November 30th 05 04:15 PM
Header for only first page Laura Microsoft Word Help 0 November 18th 05 04:29 PM
Preventing deletion of header Jag Man Microsoft Word Help 10 August 11th 05 09:14 PM
Cursor position defaults appears in the Header space on New Docume TGB Microsoft Word Help 1 June 22nd 05 01:23 PM
Word 2000 - Header height Sammy Microsoft Word Help 3 February 21st 05 06:33 PM


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

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"