Distance from Ruler !!!

C

CyberBhai

I am using Visio 2003 ActiveX Control and VB.net.

I want know the width of the space which exists between the activex
control's Left margin and actual

page's left margin. Same for all the spaces around. That means how far from
the top ruler's 0(zero) to the

Left side of the control and how far from Left Ruler's 0(zero) to bottom of
the control.



0 (of Top Ruler)
+----------------------------------------------------+
|
| <--- ActiveX Control
| +-------------------------------------+ |
| | | |
| | | |
| | | |
| |
|<----------- Page Margin
| | | |
| | | |
|<-1->| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
0| +-------------------------------------+ |
(of left| | |
Ruler)| 2 |
| | |
+-----------------------------------------------------+


Value of 1 and 2 are needed.



Plz. Help.
 
C

CyberBhai

Hi,

I am in need of a bit more help from you. I hope you can guide me.

I am having problem in Print and Print Preview. I am having some shapes put
beyond the page boundary or margin. I want those portions not to be shown as
a part of print as well as print preview. But, when I mention
"Dim mf As New System.Drawing.Imaging.Metafile(New
IntPtr(visiopage.Picture.Handle), False)"
------ it takes all the shapes along with the portions
outside the page margin.

How can I get rid of this. I have tried a lot but not able to get any
solution of it.

Plz. help. I am very badly in need of this.

regards,

CyberBhai
 

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