Release Summary : 2. Changes to Existing Features : FormField.BgDisplayPolicy Attribute Gets New Border Settings
 
Share this page                  
FormField.BgDisplayPolicy Attribute Gets New Border Settings
The BgDisplayPolicy attribute controls the positioning and display of form field background images. Previous settings included:
BDP_DEFAULT
BDP_FIXED
BDP_RELATIVE
The following new settings providing border, scale, and corner options are added in this release:
BDP_BORDEREDTILED
Specifies that the image's border effect is preserved: the image corners are mapped to the field corners, the image edges are resized to fill the field by corner-to-corner tiling, and the center is resized to fill the remainder of the field by tiling.
BDP_BORDEREDSCALED
Specifies that the image's border effect is preserved: the image corners are mapped to the field corners (any transparency effects are honored), the image edges are resized to fill the field by corner to corner rescaling of the edges, and the center is resized to fill the remainder of the field by rescaling.
BDP_CORNERED
Specifies that the field background is drawn with one or more rounded corners with transparent anti-aliasing. The effect is identical to BDP_BORDEREDSCALED, except that the corners are modified to follow the cornerradius set for the image.
For more information, see the FormField class BgDisplayPolicy Attribute and BgDisplayPolicy Settings in the Language Reference Guide.