Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restrict picture height in word
Message
De
04/11/2009 17:45:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01433107
Message ID:
01433259
Vues:
25
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
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform