AppSetImgProcessing Method

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

Description

Controls the behavior of prompt when linking a picture to a page and the dimensions of placeholder are different.

Syntax

Fred.AppSetImgProcessing (intMode)

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)

Context

Fred application dispatcher commands

See also

AppGetImgProcessing, AppSetLocalTextProcessing