Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Vincent Vincent is offline
external usenet poster
 
Posts: 14
Default How to set the margin values of a word file in c#?

How to set the margin values of a word file in c#?
Many thanks for your replying.

  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default How to set the margin values of a word file in c#?

Hi Vincent

vincent wrote:
How to set the margin values of a word file in c#?
Many thanks for your replying.


you might want to ask this in one of the vba newsgroups. Be sure to
mention what exactly you mean:

page margins
paragraph margins
(table) cell margins
etc.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Vincent Vincent is offline
external usenet poster
 
Posts: 14
Default How to set the margin values of a word file in c#?

I would like to know how to set the page margin values.
Thank you very much.

"Robert M. Franz (RMF)" wrote:

Hi Vincent

vincent wrote:
How to set the margin values of a word file in c#?
Many thanks for your replying.


you might want to ask this in one of the vba newsgroups. Be sure to
mention what exactly you mean:

page margins
paragraph margins
(table) cell margins
etc.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word

  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default How to set the margin values of a word file in c#?

Hi Vincent

vincent wrote:
I would like to know how to set the page margin values.


as I said, there are lots of vba forums (or newsgroups, if you know how
to handle a newsreader). The regulars there usually know the Word Object
Model best.

What you can do is record a macro while setting the page margins (that's
under File | Page Setup). The resulting VBA code will show you the
relevant objects and methods/properties.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
  #5   Report Post  
Posted to microsoft.public.word.pagelayout
Vincent Vincent is offline
external usenet poster
 
Posts: 14
Default How to set the margin values of a word file in c#?

Thank you very much.
It is very helpful.

"Robert M. Franz (RMF)" wrote:

Hi Vincent

vincent wrote:
I would like to know how to set the page margin values.


as I said, there are lots of vba forums (or newsgroups, if you know how
to handle a newsreader). The regulars there usually know the Word Object
Model best.

What you can do is record a macro while setting the page margins (that's
under File | Page Setup). The resulting VBA code will show you the
relevant objects and methods/properties.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word



  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default How to set the margin values of a word file in c#?

vincent wrote:
Thank you very much.
It is very helpful.


Your welcome! :-)
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
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
Help with top margin when inserting a file Rick Charnes Page Layout 6 May 3rd 07 06:52 PM
In WORD: fill paragraph, margin to margin, with proper spacing. Roy Pitsch Microsoft Word Help 1 July 17th 06 02:22 AM
Problem arises when ref bookmark is added in the header ,it does not take the modified values and displays the same old values divya Microsoft Word Help 2 July 6th 06 01:08 PM
Problem arises when ref bookmark is added in the header ,it does not take the modified values and displays the same old values divya Microsoft Word Help 0 July 6th 06 11:47 AM
How do I change margin in an imported file? opal Microsoft Word Help 3 January 8th 06 07:02 AM


All times are GMT +1. The time now is 12:55 PM.

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"