Translates values from one horizontal (x) coordinate system to the other.
Visual Basic |
---|
Public Function TranslateX( _ ByVal fX As Double, _ ByVal translationType As enumTranslate _ ) As Double |
- fX
The x-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 x-coordinate in the new coordinate system specified by translationType.