ScaleSize Method
Applies to
IWPTextObj
Declaration
procedure ScaleSize(BestWidth: Integer; BestHeight: Integer; Percent: Integer);
Description
This method can be used scale an image object.
Parameters
BestWidth
The required width in twips - or 0
BestHeight
The required height in twips - or 0. BestWidth and BestHeight can also be both specified and will then define the respective maximum for width and height.
Percent
The percentage value to enlarge or shrink the image.