PDF.SetSize

PDF.SetSize ( 

string ObjectName,

number Width,

number Height )

Example 1

PDF.SetSize("Grower", 300, 250 );

Set the "Grower" PDF object's width to 300 pixels and it's height to 250 pixels.

Example 2

PDF.SetSize("Expand", PDF.GetSize("Expand").Width + 200, PDF.GetSize("Expand").Height + 100);

Increases the"Expand" PDF object's current width by 200 pixels and it's current height by 100 pixels. The PDF.GetSize action is used here to get the current size of the object.

See also:  Related Actions