Gets the y (vertical) coordinate for the image position in the center of the viewing window.
Read-write property
Visual Basic |
---|
Public Property ImageLocationCenterY As Double |
A double value which represents the y coordinate value for the image position.
The default value is the Y-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 ImageLocationCenterY may differ from the x parameter specified when calling SetImageLocation. For example, if you call SetImageLocation(0, 0) when the image is fully visible, ImageLocationCenterY will return a value that is the Y 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.