G
GBPA
I have a program that produces a graphic (JPG file) and inserts it plus a
section
heading plus sometimes a caption at a bookmark, on one single page of a
Word document based on a template that I provide. I can adjust the graphic's
size to fit the page.
Some customers add rather large headers and footers to the template. When
they
try to generate the document, either the heading and text get separated from
the
graphic by a page break or else part of the graphic is obscured by the footer.
How do I programmatically (C#) determine the _real_ size of the space I have
to
work with - page size minus header minus footer? Is there a way?
Thank you,
Gabriel
section
heading plus sometimes a caption at a bookmark, on one single page of a
Word document based on a template that I provide. I can adjust the graphic's
size to fit the page.
Some customers add rather large headers and footers to the template. When
they
try to generate the document, either the heading and text get separated from
the
graphic by a page break or else part of the graphic is obscured by the footer.
How do I programmatically (C#) determine the _real_ size of the space I have
to
work with - page size minus header minus footer? Is there a way?
Thank you,
Gabriel