Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Programming / February 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AlexK - 05 Feb 2007 23:22 GMT
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
Ed Bennett - 06 Feb 2007 01:43 GMT
> 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?

Signature

Ed Bennett - MVP Microsoft Publisher
http://ed.mvps.org

Reply to Reply - 06 Feb 2007 16:40 GMT
> > 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
[quoted text clipped - 3 lines]
> 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 @ alexkoelsche@hotmail.com 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.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.