Points in Powerpoint VBA

M

Mieds

What does the value in point represent in VBA? For example, in the
following code, what does the .Top = 200 mean. Is there a conversion
from points to inches.

Thanks


objPPTSlide.Shapes.PasteSpecial(ppPasteEnhancedMetafile).Name =
"GraphOne"
With objPPTSlide.Shapes("GraphOne")
.ScaleHeight 0.6, msoTrue,
msoScaleFromMiddle
.ScaleWidth 0.6, msoTrue,
msoScaleFromMiddle
.Top = 200
.Left = 50
End With
 
K

ker_01

Google "twips" or "twips to inches"

It has been a while since I've worked with onscreen placement, and that was
in Excel, but I recall that in addition to the basic conversion, there was
something about the start point location (upper left of the app, vs upper
left of the user panel, below the toolbars). I apologize, it's been too long
for me to recall the details.

HTH,
Keith
 
S

Steve Rindsberg

What does the value in point represent in VBA? For example, in the
following code, what does the .Top = 200 mean. Is there a conversion
from points to inches.

72 points = 1 inch.

I'd ignore the suggestion to google "twips" as it will only lead to
confusion in this particular context.
 
Top