Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / July 2008

Tip: Looking for answers? Try searching our database.

callout dimensions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ccross - 18 Jul 2008 18:33 GMT
You guys are a lot of help, this is a great source of how to info.  Let me
see if I can stump ya though, because this one has stumped me.   I need to
programmatically find the dimensions of a callout.  The issue I am having is
that I can get the top and left and the height and width, but those are the
dimensions of the actual circle/bubble and not the line leading to it.  If I
could find a way to ungroup those two items or find the dimensions of the
whole object that would be really helpful.   If it is even possible...
thanks
Steve Rindsberg - 18 Jul 2008 22:40 GMT
> You guys are a lot of help, this is a great source of how to info.  Let me
> see if I can stump ya though, because this one has stumped me.   I need to
[quoted text clipped - 4 lines]
> whole object that would be really helpful.   If it is even possible...
> thanks

Have a look at the shape's .Adjustments collection.

Each shape's adjustments may mean different things, but for callouts, if I
recall correctly, there are two adjustment values, one is the length of the
"pointer" and the other is the angle.  

The units are inches, I think, but working out the starting point can be a bit
wonky.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com
ccross - 24 Jul 2008 15:50 GMT
Thanks for the reply, I am using vb.net vs, i can see the adjustments
collection is probably where I could get this type of adjustment, but I cant
figure out how to get to that value. I was unable to get to the length or the
angle.  Is there any way to do this in vs?

>> You guys are a lot of help, this is a great source of how to info.  Let me
>> see if I can stump ya though, because this one has stumped me.   I need to
[quoted text clipped - 19 lines]
>Sept 21-24, San Diego CA, USA
>www.pptlive.com
Steve Rindsberg - 24 Jul 2008 22:08 GMT
> Thanks for the reply, I am using vb.net vs, i can see the adjustments
> collection is probably where I could get this type of adjustment, but I cant
> figure out how to get to that value. I was unable to get to the length or the
> angle.  Is there any way to do this in vs?

Not a clue.  

But in VBA you examine the shape's .Adjustments(x)
You have to work out what the Xth adjustment refers to for each shape type.

> >> You guys are a lot of help, this is a great source of how to info.  Let me
> >> see if I can stump ya though, because this one has stumped me.   I need to
[quoted text clipped - 19 lines]
> >Sept 21-24, San Diego CA, USA
> >www.pptlive.com

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com
ccross - 25 Jul 2008 13:39 GMT
Allright, I'll work with that thanks.

>> Thanks for the reply, I am using vb.net vs, i can see the adjustments
>> collection is probably where I could get this type of adjustment, but I cant
[quoted text clipped - 20 lines]
>Sept 21-24, San Diego CA, USA
>www.pptlive.com
ccross - 25 Jul 2008 16:03 GMT
Using adjustments worked, it was just confusing getting to what the value in
each adjustment actually was.  Thanks for the help

If anyone needs to know:
The adjustment represents the distance from the center in terms of the
objects size. so a adjustment of .5 horizontally will be half the width from
the center of the shape, 1.5 will be 2x the width and so on.  The hard part
is determining which adjustment is for which value because it seems to change
per shape.  In a shape with 3 adjustments, the 1st adjustment is the width
and the 2nd is the height, but that does not hold for all of the other
callouts.

>Allright, I'll work with that thanks.
>
[quoted text clipped - 3 lines]
>>Sept 21-24, San Diego CA, USA
>>www.pptlive.com
Steve Rindsberg - 25 Jul 2008 17:03 GMT
Thanks very much for posting your results.

> Using adjustments worked, it was just confusing getting to what the value in
> each adjustment actually was.  Thanks for the help
[quoted text clipped - 15 lines]
> >>Sept 21-24, San Diego CA, USA
> >>www.pptlive.com

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.