WpfObjectConverterConvertRectangleF Method (RectangleF) |
Converts a System.Drawing.RectangleF to a System.Windows.Rect.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static Rect ConvertRectangleF(
RectangleF rectangle
)
Public Shared Function ConvertRectangleF (
rectangle As RectangleF
) As Rect
Parameters
- rectangle
- Type: System.DrawingRectangleF
The System.Drawing.RectangleF to convert.
Return Value
Type:
RectA System.Windows.Rect.
See Also