What is visBBoxUprightWH which is used to adjust Bounding Box,How cani find that

S

shailendrasingh823

Hi All ,

I have created groups now I need to adjust the Bounding Box using
visBBoxUprightWH, visBBoxUprightText & visBBoxExtents .

These are to be used to get a proper allignmant.

But during coding I am not finding these enumarators How can I use
these enums in my program.

I am not getting following enums also

vsoShape.ContainingShape.Type = visTypeGroup

& vsoShape.Type = visTypeGuide.

How can i get these information

Regards
Shail
 
D

David Parker

I find it difficult to follow what you are trying to do in your posts, but I
think that you have grased the wrong end of the stick!
The cannot adjust the Bounding Box of a shape or selection with the
BoundingBox method, becuase it is used to get the enclosing rectangle size.
The Visio.VisBoundingBoxArgs are used to specify which parts of the shapes
are to be included within this rectangle.
Perhaps if you include
Imports Visio = Microsoft.Office.Interop.Visio
then you may see the arguments, so long as you specify the enumerator, eg
VisBoundingBoxArgs
 
D

David Parker

"grased" should have read "grasped"

David Parker said:
I find it difficult to follow what you are trying to do in your posts, but
I think that you have grased the wrong end of the stick!
The cannot adjust the Bounding Box of a shape or selection with the
BoundingBox method, becuase it is used to get the enclosing rectangle
size.
The Visio.VisBoundingBoxArgs are used to specify which parts of the shapes
are to be included within this rectangle.
Perhaps if you include
Imports Visio = Microsoft.Office.Interop.Visio
then you may see the arguments, so long as you specify the enumerator, eg
VisBoundingBoxArgs
 
S

shailendrasingh823

"grased" should have read "grasped"







- Show quoted text -

Hi David,


Thanks for ur reply,

I am trying to read a structur which gived me master shape information
to be dropped & the dropped locations(x pos,ypos).
shapes which belongs to the same area network for exp Area1 has 4
shapes connected with LAN,& area2 has 3 shapes connected with the LAN.
Now when I drop these shapes all five(LanShape & Shapes )should be
dropped in area1 group only & 3 shapes & LAN shapes in area2 & then
group them give them name area1 & area2.
Now when i am dropping them & making the groups these shapes r not
proper position some ODD positions.

Regards
Shail
 

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