Description
This property returns the horizontal offset of the image. The offset is calculated relative to the control’s client area. For example, at 0 percent, the image is displayed against the left edge of the control’s client area. At 50 percent, the image is displayed horizontally centered in the control’s client area. At 100 percent, the image is displayed against the right edge of the control’s client area.
Declaration
TestObj.xOffsetPercent
Read-Only Property | Integer |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following object:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
The integer value specifying the horizontal offset percentage.
See Also
yOffsetPercent Property (Specific to Win32ListViewBackground Objects)