Replace 2-D Shape with Rectangle

A

Asif Imran

Hi All,



I am using DropMaster sample code from Visio 2003 SDK to drop shape on Visio
Drawing.



Is there any way to replace dropped shape with Rectangle shape? (Using X and
Y points of dropped shape.)



OR



Is there anyway to remove all connection points from shape so that it looks
like rectangle box with no cross "X" corners



Thanks in advance



Asif
 
A

Al Edlund

have you considered something like this
visRect = visApp.ActivePage.DrawRectangle(0, 0, dblIW, dblIH * 2)

al
 
A

Asif

Hi,

I did try it but it did not work.

Is there any other idea that you should think it will work?

Thanks

Asif
 
B

bnk

It depends... :)

What do you mean by 'not work'?
And what are actually trying to do?

Back to the first question, you could create a master that is suitable
for you (one that does not have connection points) 'by hand' , and then
drop this master...
 

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