Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restrict picture height in word
Message
 
 
À
04/11/2009 14:03:22
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:
01433191
Vues:
38
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.
    >>
    --sb--
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform