ImgProc Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:17

Description

Returns or sets the processing mode tool for the pictures.

It corresponds to the Picture size handling list box in the Tool pane in Fred (REQ04674).

Syntax

object.ImgProc (intmode)

object

Required. Object name, returned by Dim objTool = Page.ObjGetTool..

intMode

0 prompt the user (corresponds to the constant IFredApp.eLoadCrop.lcPrompt)
1 resize (corresponds to the constant IFredApp.eLoadCrop.lcResize)
2 fit  (corresponds to the constant IFredApp.eLoadCrop.lcFit)
3 crop or resize if the picture is smaller that the object being replaced  (corresponds to the constant IFredApp.eLoadCrop.lcCropResize)
4 crop or fit if the picture is smaller that the object being replaced  (corresponds to the constant IFredApp.eLoadCrop.lcCropFit)