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.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxpublic 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