Language Reference Guide : System Classes : SpriteDescriptor Class : Height Attribute
 
Share this page          
Height Attribute
Data Type: integer
4GL Access: RW
The Height attribute is the height of the sprite in pixels or as percentage of the field height. If the source image for the sprite is a different size, it is resized.
If both height and width are unspecified, the sprite is displayed at the height and width of its source image. However, if either height or width is specified, the other setting must also be specified, because it will default to zero and no sprite will be displayed.
There is no formal limit to the size at which a sprite can be displayed. For sprite widths or heights up to 2400 pixels (the size of a frame's TopForm), bilinear resizing is used; for still larger sizes, halftone resizing is used. If sprite resizing fails, the sprite is painted at its original size.
Sprites are truncated if they overlap the edge of the field on which they are painted.