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