ObjInflateSgm Method

Build 1501 on 14/Nov/2017  This topic last edited on: 27/Jan/2017, at 07:51

Description

Resizes a shape, and since 2.5, also images, respecting the Fit Images on Resize Pages main tab preference (Edit > Preferences > Main).

Syntax

Page.ObjInflateSgm (dim1, dim2, dim3, dim4, str5)

dim1        

increment or reduction from left side. Negative values reduce the shape.

dim2        

increment or reduction from right side. Negative values reduce the shape.

dim3        

increment or reduction from top. Negative values reduce the shape.

dim4        

increment or reduction from bottom. Negative values reduce the shape.

str5        

options: "B+" = add a border around objects, "F+" = free resizing, "P+" = proportional resizing, "D+" = logical resizing, "I+" = always fit images on resize, ignore the preference status, "I-" = never fit images, ignore the preference status.

Note: "I" flag is available only in the version 2.5. If you do not specify it, the Fit Images on Resize Pages main tab preference (Edit > Preferences > Main) is respected.

Remarks

Returns error code.

Context

Page designer

See also

ObjInflateSgmDlg, ObjInflateSgmEx