Click or drag to resize

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
)

Parameters

rectangle
Type: System.DrawingRectangleF
The System.Drawing.RectangleF to convert.

Return Value

Type: Rect
A System.Windows.Rect.
See Also