Page break in MS Word where no paragraphs
- From: "Kristijan Marin" <kristijan.marin@xxxxxxxxxx>
- Date: Fri, 16 Feb 2007 18:34:32 +0100
HI,
Have anyone tried inserting page break when there are no paragraphs on the
page ?
Well I have two TextBox and one Picture object and when i try to insert page
break it
happens not exactly where I have expected it . I would expect or need it
after the last inserted object ....
I don't even know what to set for Range ....
object range = aDoc.Range(ref s1,ref s2);
object start = Word.WdSectionStart.wdSectionNewPage;
aDoc.Sections.Add(ref range, ref start);
Thanks.
Kris
.
- Follow-Ups:
- Re: Page break in MS Word where no paragraphs
- From: Cindy M .
- Re: Page break in MS Word where no paragraphs
- From: Kristijan Marin
- Re: Page break in MS Word where no paragraphs
- Prev by Date: Re: c# word automation need code to delete all macros in a word document
- Next by Date: Re: c# word automation. How to get or read value from a textbox on a word document
- Previous by thread: Please: How to insert TextBox into MS Word or ...
- Next by thread: Re: Page break in MS Word where no paragraphs
- Index(es):
Relevant Pages
|