Tables 3/4's Gone after page(1).saveaspicture() method?

A

AlexK

I am creating an extraction program to create pictures from Publisher.

One Problem I am having is that when I use the Page.SaveAsPicture Method.
When the picture is primarily made up of tables three quarters of the text in
the table has disappeared.

A walk around I tried was to use the FileDialog interface with publisher to
save the file to see if it would keep the text in the table. But this time
the file wouldn't even save at all With multiple attempts using Show() and
Execute with no results.

Any help Welcome

Thank You
Alex Koelsche
QLD Info Corp
 
E

Ed Bennett

AlexK said:
One Problem I am having is that when I use the Page.SaveAsPicture Method.
When the picture is primarily made up of tables three quarters of the text in
the table has disappeared.

Is the text removed in the Publisher file itself, or only in the output
image? Does this occur with all image formats? Are you able to email me
a sample file for testing? Which version of Publisher are you using?
 
R

Reply to Reply

Ed Bennett said:
Is the text removed in the Publisher file itself, or only in the output
image? Does this occur with all image formats? Are you able to email me
a sample file for testing? Which version of Publisher are you using?

Yes, the pictures are the only files loosing the text in the tables. If I
save them regularly with Document.Saveas() they save just fine. I have also
tried .jpg, .tif, and .bmp. .Gif is the needed format for the pictures
because that is what our Automotive Scan Tool feeds to the customers and our
programmer wants .gif files.

Like before I can't save with the FileDialog to filter the filetype to .gif.
But, I can save normally.

Right now I am using Publisher 2003 With Microsoft Visual Studio Tools for
Office.

As for a Sample Send me an Email @ (e-mail address removed) and I'll reply
with sample pics and pub files.

Also the text for the picture to be made is made with Word. I'll create the
whole document no matter the amount of pages and copy and paste the
information into a textbox, making the pictures and tables inlineshapes
belonging to the original textbox. Does this copy and paste have anything to
do with this. I know the inlineshapes object is working fine because when I
paste the tables they are shranken so I iterate through the inlineshapes and
check if it is a table. If true I change the width of the table to a little
smaller than the intended picture size.

Thank you for the quick response and all the help.
Alex Koelsche
QLD Info Corp.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top