|
<< Click to Display Table of Contents >>
ScaleImage |
ScaleImage(PercX, PercY, AnchorType)
This method allows adjusting the size of this object proportionally to its original size. The PercX and PercY parameters define, respectively, the horizontal and vertical percentual sizes of this object relative to its original size. The AnchorType parameter defines an anchor point for that adjustment. Possible values for this parameter are 0: Center (keeps the center of this object fixed), 3: TopLeft (keeps the top left corner of this object fixed), 4: BottomLeft (keeps the bottom left corner of this object fixed), 5: BottomRight (keeps the bottom right corner of this object fixed), or 6: TopRight (keeps the top right corner of this object fixed).