Translates values from one vertical (y) coordinate system to the other.
Visual Basic |
---|
Public Function TranslateY( _ ByVal fY As Double, _ ByVal translationType As enumTranslate _ ) As Double |
- fY
- The y-coordinate on which translation occurs.
- translationType
An enumTranslate value which determines the type of translation to perform.Value Description TRANS_PixelToView Pixels to view units of measure. TRANS_ViewToPixel View units of measure to pixels.
The translated y-coordinate in the new coordinate system specified by translationType.