AvalonEdit
Round Method (rect, pixelSize)
NamespacesICSharpCode.AvalonEdit.UtilsPixelSnapHelpersRound(Rect, Size)
Rounds val to whole number of pixels.
Declaration Syntax
C#Visual BasicVisual C++
public static Rect Round(
	Rect rect,
	Size pixelSize
)
Public Shared Function Round ( _
	rect As Rect, _
	pixelSize As Size _
) As Rect
public:
static Rect Round(
	Rect rect, 
	Size pixelSize
)
Parameters
rect (Rect)
pixelSize (Size)

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238