Scales image to the specified Maximum Width and Maximum Height preserving Aspect Ratio if necessary. MaximumWidth - Set the ...

Scales image to the specified Maximum Width and Maximum Height preserving Aspect Ratio if necessary.  MaximumWidth        - Set the MaximumWidth property to the width (in pixels)                       that you wish to scale the image to. MaximumHeight       - Set the MaximumHeight property to the height (in pixels)                       that you wish to scale the image to. PreserveAspectRatio - Set the PreserveAspectRatio property to True                       [the default] if you wish to maintain the current aspect                       ration of the image, otherwise False and the image will                       be stretched to the MaximumWidth and MaximumHeight FrameIndex          - Set the FrameIndex property to the index of a frame if                       you wish to modify a frame other than the ActiveFrame,                       otherwise 0 [the default]