This project has moved. For the latest updates, please go here.

RoundToGetPixel

Use following workaround to avoid GetPixel issue on browser with Silverlight environment.
x = GraphicsWindow.MouseX
y = GraphicsWIndow.MouseY
If silverlight Then
  x = Math.Round(x)
  y = Math.Round(y)
EndIf
color = GraphicsWindow.GetPixel(x, y)
SB_ColorWorkaround()

See Also

Other Resources

Last edited Jan 15, 2016 at 5:29 PM by Nonki, version 2