pePosition - cWebColumnImage
Allows advanced positioning of the image when piImageWidth and piImageHeight are set
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
{ WebProperty=Client }
Property Integer pePosition
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet pePosition to IntegerVariable |
| Write Access: | WebSet pePosition to IntegerVariable/Value |
Description
Set pePosition to determine if the image is stretched, centered or at the top left corner. Note that piImageWidth and piImageHeight must be set for advanced positioning to work.
Valid values are:
| Constant | Meaning |
|---|---|
| wiActual (0) | Places the position in the control in the top left corner, does not stretch the image |
| wiStretch (1) | Stretches the image in the control vertically and horizontally |
| wiStretchHoriz (2) | Stretches the image in the control only horizontally |
| wiCenter (3) | Centers the image in the control, does not stretch the image |
| wiFit (4) | Centers the image and scales both of its dimensions to be as large as possible while ensuring the entire image is visible |
| wiCover (5) | Centers the image and scales both of its dimensions to be as small as possible while ensuring that the entire cell area is covered by the image. This may result in some horizontal or vertical image clipping. |
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.