Gets the x (horizontal) coordinate for the image position in the center of the viewing window.
Read-write property
Visual Basic |
---|
Public Property ImageLocationCenterX As Double |
A double value which represents the x coordinate value for the image position.
The default value is the image X-coordinate of the position in the center of the window.
Use the SetImageLocation method to set the position of the image.
Note: The value returned by ImageLocationCenterX may differ from the x parameter specified when calling SetImageLocation. For example, if you call SetImageLocation(0, 0) when the image is fully visible, ImageLocationCenterX will return a value that is the X coordinate of the center point of the image in the window instead of 0, since the call to SetImageLocation(0, 0) would not change the image display in the window.