the "Adjustments.Item(1)" value of Basic Shapes->Bevel

  • Thread starter Thread starter Martin Stender
  • Start date Start date
M

Martin Stender

Hi All

I'm trying to make sense of the "Adjustments.Item(1)" value, that is
set on the "AutoShapes->Basic Shapes->Bevel" shape - and it is sort of
driving me nuts...

Has anyone any idea how this is calculated?

The purpose is to make a small makro, that is able to set the same
bevel-size on any bevel-shape, no matter it's size.

This value (in theory) goes from 0 to 0.5, but if you drag the yellow
handle around, you can suddently get all kinds of weird values from it
(like: 4.166667E-02 for example, indicating something is wrong, I
guess...).

Also, if I try to set that value to something 'normal' like .25 (using
a bit of code like this:
<Selected bevel shape>.Adjustments.Item(1) = .25 it just goes all the
way up to .5.

It has something to do with a relationship to either the shapes width
or height, depending on which is smallest ... that much I think I have
figured out.

But I can't figure out how to set it to something specific ... any
ideas?

TIA and best regards
Martin
 
I'm not familiar with the adjustment, but I believe that 4.166667E-02 is
within the range you specified. That would translate to .04166667, I
belive, which is between 0 and 0.5.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
I don't have any problems setting it to a specific value between 0 and 0.5
4.166667E-02 is 0.04166667 which is a valid number.
Which version of PowerPoint are you using?
 
Thanks for the replies

I'm using Office 2002(SP3) on XP(SP2)

But was I right in assuming, that this value has a relation to the size
of the shape?
If so, any ideas how to give shapes of varying sizes the same size
bevel?

Best regards
Martin
 
Martin,
But was I right in assuming, that this value has a relation to the size
of the shape?
Yes. 0 represents the left edge of the shape and 0.5 would be half the
width of the shape
If so, any ideas how to give shapes of varying sizes the same size
bevel?
To get a fixed bevel size do the simple math :
Assuming that the base shape is 100 points wide. If 0.2 is the bevel value
for a shape of size 100 points. To compute the corresponding bevel value (x)
for the next shape of let's say width 200.
x= 0.2*100 /200
x=0.1


--
Regards,
Shyam Pillai

Toolbox: http://skp.mvps.org/toolbox
 
Ok - now I got a lot wiser here.

I'm located in Denmark, so it turned out to be a combination of me,
failing to understand what exactly went on with the adjustment value,
combined with a ',' (comma) being used as separator for decimals
instead of point/fullstop.

So when I typed in '0.35' in my 'property inspector', the
point/fullstop would be stripped off, so the value passed to the bevel
shape was actually 35 :-)

Martin
 
Back
Top