ConvertFromVerticalPixels
<< Click to Display Table of Contents >> ConvertFromVerticalPixels |
Converts a y-axis pixel coordinate from device pixels to application pixels.
Note: For more information concerning the differences between application pixels and device pixels, please see the Working with Pixel Coordinates educational resource. |
A double representing a y-coordinate value in terms of application pixels
ChartingExtensions.ConvertFromVerticalPixels(this int x, PresentationSource target)
<int>.ConvertFromVerticalPixels(PresentationSource target)
x |
The vertical int coordinates in device pixels to convert |
target |
The PresenationSource representing the display surface used for the conversion
Note: For Charts, see ChartControl.PresentationSource |
int applicationPixelY;
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |