Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restrict picture height in word
Message
From
04/11/2009 17:45:30
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01433107
Message ID:
01433259
Views:
21
Thanks Sergey,
where can I find this 'Word Developer Reference', I have a MSDN subscription. Is is there?
Peter

>
>Word Developer Reference 
>Shape.ScaleHeight Method 
>Scales the height of the shape by a specified factor.
>Syntax
>expression.ScaleHeight(Factor, RelativeToOriginalSize, Scale)
>
>
>
>Parameters
>
>
  • Factor Required Single Specifies the ratio between the height of the shape after you resize it and the current or original height. For example, to make a rectangle 50 percent larger, specify 1.5 for this argument.
    >
  • RelativeToOriginalSize Required MsoTriState True to scale the shape relative to its original size. False to scale it relative to its current size. You can specify True for this argument only if the specified shape is a picture or an OLE object.
    >
  • Scale Optional MsoScaleFrom The part of the shape that retains its position when the shape is scaled.
    >
    >>
    >>Tamar has them describt as properties in her Henzenwerke book about office automation
    >>
    >>Peter
    >>
    >>>The scaleHeight and scaleWidth are methods not properties. Did you try to use Height and Width properties? Keep in mind that they are expressed in points not pixels.
    >>>
    Peter Cortiel
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform