Access Visio Drawings stored in MS Access

M

martin koenig

Hi All

I have an MS-Access 2003 database where I have a table with a column which
contains Visio objects.

Those Visio objects will be used on an MS-Access report. The Visio drawings
are differnt in size (with and hight). Therefore each drawing needs to be
resized on the report before displayed.

My question is:
How Do I get with and height of a Visio drawing with the Visio Type Library
(11.0)?

Would anybody be able to fill the question marks below or even suggest as
smother and easier way to get to the dimensions of a Visio drawing?


Dim appVisio As Visio.Application
Set appVisio = CreateObject("visio.application")

' VBA Code to create a new Visio document
??

'VBA Code to paste the Visio drawing into the new Visio document
'Consider that I do have only an OLE-Object.
??

'Retrieve with and heigth of that drawing pasted into the Visio document
??




Thanks very much for any help
Martin
 

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