<< Click to Display Table of Contents >>
ScaleImage |
ScaleImage(PercX, PercY, AnchorType)
This method allows adjusting the size of a Picture proportionally to its original size. The PercX and PercY parameters define, respectively, the horizontal and vertical percentual sizes of a Picture 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 the Picture fixed), 3: TopLeft (keeps the top left corner of the Picture fixed), 4: BottomLeft (keeps the bottom left corner of the Picture fixed), 5: BottomRight (keeps the bottom right corner of the Picture fixed), or 6: TopRight (keeps the top right corner of the Picture fixed).