Page size problem..

Z

ZyRaIN

Would like to say thanks to the people who have been helping me.

I've got a new problem, been looking thru the forum to see if there
were any threads about this.

I use the page.export(page.name & "*.gif") to extract my backgrounds
etc.. as images, this works without any problems, later on I want to
get the page height and width here I use:

Dim pageHeight as double
page.PageSheet.Cells("PageHeight").Result(70)
debug.print("PageHeight" & pageHeight)

The result that this gives me dose not match the actual pixel size of
the image, why is this ?

Hope you understand my problem - and can help me in the right
direction.

/ZyRaIN
 
Z

ZyRaIN

Yes - This I know, but still it dosent give the right result compared
to the pixel size of the images that I get out.
 
A

Al Edlund

Are you asking if you can change the size of the gif image from inside the
program? I believe the answer is no.
al
 
Z

ZyRaIN

:) that is not what Im asking my problem is, that when I use the
page.export(page.name) I get the problem that it cuts away the some
part of my Image, around my visio page I have some white space before
my drawing actually starts, this white empty space is cut away, so the
image that i get out is cut down to where the actual image starts.
 
P

Paul Herber

:) that is not what Im asking my problem is, that when I use the
page.export(page.name) I get the problem that it cuts away the some
part of my Image, around my visio page I have some white space before
my drawing actually starts, this white empty space is cut away, so the
image that i get out is cut down to where the actual image starts.

The exported image is trimmed to include only the shapes on the page.
Either put a transparent image at the required top left and bottom
right or add a transparent frame around the whole page.
 
Z

ZyRaIN

Thx for your reply sounds to be the perfect solution to my problem,
with the frame around the whole page. But how do I program this ? Would
love to get an example.

/ZyRaIN
 
Z

ZyRaIN

Awesome guys, have drawed a box which totally blocks my image behind
the box. How do I make this box invisible :)

Thanks once again for all your help..
 
M

Mark Nelson [MS]

First you can select the box and choose Shape > Order > Send to Back. That
will allow you to see your image again. If you still want to make the box
invisible, I would set the Line color to No Line and the Fill color to No
Fill. You can do this from the Formatting toolbar.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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