ScaleSize Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPTextObj

Declaration

void ScaleSize(int BestWidth, int BestHeight, int Percent);

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.


[idh_iwptextobj_scalesize.htm]    Copyright © 2007 by WPCubed GmbH