AppGetImgProcessing Method

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

Description

Returns the value, set by the AppSetImgProcessing to control the behavior of prompt when linking a picture to a page and the dimensions of placeholder are different.

Syntax

value = Fred.AppGetImgProcessing

value

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

AppSetImgProcessing, AppGetLocalTextProcessing