AvalonEdit
PixelAlign Method (rect, pixelSize)
NamespacesICSharpCode.AvalonEdit.UtilsPixelSnapHelpersPixelAlign(Rect, Size)
Aligns the borders of rect on the middles of pixels.
Declaration Syntax
C#Visual BasicVisual C++
public static Rect PixelAlign(
	Rect rect,
	Size pixelSize
)
Public Shared Function PixelAlign ( _
	rect As Rect, _
	pixelSize As Size _
) As Rect
public:
static Rect PixelAlign(
	Rect rect, 
	Size pixelSize
)
Parameters
rect (Rect)
pixelSize (Size)

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