Language Reference Guide : A. System Constants and Keywords : System Constants : DisplayPolicy Settings for ImageFields
 
Share this page          
DisplayPolicy Settings for ImageFields
Constant Value
Description
Numeric
Equivalent
DP_CLIP_IMAGE
Clip the image to fit the field
1
DP_AUTOSIZE_FIELD
Resize the field to fit the image
2
DP_SCALE_IMAGE_H
Scale the image proportionally to field height
3
DP_SCALE_IMAGE_W
Scale the image proportionally to field width
4
DP_SCALE_IMAGE_HW
Scale the image to fit the field
5