ExtensionsDipToPx Method (RectangleF) |
LightningChart .NET Help
Converts given rectangle size and position defined in DIP (Device Independent Pixels) to PX (Screen pixels)
values using system DPI settings.
Namespace:
Arction.WinForms.Charting.Extensions
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static RectangleF DipToPx(
this RectangleF Dip
)
<ExtensionAttribute>
Public Shared Function DipToPx (
Dip As RectangleF
) As RectangleF
public:
[ExtensionAttribute]
static RectangleF DipToPx(
RectangleF Dip
)
Parameters
- Dip
- Type: System.DrawingRectangleF
Rectangle to convert, defined in DIPs.
Return Value
Type:
RectangleFConverted rectangle in PX.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
RectangleF. 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