ExtensionsDipToPx Method (PointFloat) |
LightningChart .NET Help
Converts given coordinates defined in DIP (Device Independent Pixels) to PX (Screen pixels) values using system DPI settings.
Namespace:
Arction.Wpf.Charting.Extensions
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static PointFloat DipToPx(
this PointFloat dip
)
<ExtensionAttribute>
Public Shared Function DipToPx (
dip As PointFloat
) As PointFloat
public:
[ExtensionAttribute]
static PointFloat DipToPx(
PointFloat dip
)
Parameters
- dip
- Type: Arction.Wpf.ChartingPointFloat
Coordinates to convert, defined in DIPs.
Return Value
Type:
PointFloatConverted coordinates in PX.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PointFloat. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also