6. Creating and Using Basic Fields : Scalar Fields : Image Trim : Image Trim Properties
 
Share this page                  
Image Trim Properties
All the properties for image trim are described under Common Field Properties (see Common Field Properties), with the exception of the following properties that are specific to the image trim field type:
DisplayPolicy
Specifies how the image will be displayed in the field. Available selections are:
DP_CLIP_IMAGE
Clips the image to fit the field
DP_AUTOSIZE_FIELD
Expands or shrinks the field to fit the image
DP_SCALE_IMAGE_H
Scales the image vertically to fit the field
DP_SCALE_IMAGE_W
Scales the image horizontally to fit the field
DP_SCALE_IMAGE_HW
Scales the image vertically and horizontally to fit the field (may cause distortion)
Default: DP_AUTOSIZE_FIELD
Image
Specifies a file containing the image to be displayed as the image field, if set to Bitmap. When you click this button, a standard File Selection dialog appears. Enter the directory path of the new image you want to use.