AvalonEdit
PixelAlign Method (value, pixelSize)
NamespacesICSharpCode.AvalonEdit.UtilsPixelSnapHelpersPixelAlign(Double, Double)
Aligns value on the next middle of a pixel.
Declaration Syntax
C#Visual BasicVisual C++
public static double PixelAlign(
	double value,
	double pixelSize
)
Public Shared Function PixelAlign ( _
	value As Double, _
	pixelSize As Double _
) As Double
public:
static double PixelAlign(
	double value, 
	double pixelSize
)
Parameters
value (Double)
The value that should be aligned
pixelSize (Double)
The size of one pixel

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