WaitAfterAddImage - nonkit/SmallWikiPad GitHub Wiki

WaitAfterAddImage

Wait after Shapes.AddImage() to avoid zoom/rotate center issue on browser with Silverlight environment.

img = Shapes.AddImage(imageName)
If silverlight Then
  Program.Delay(msWait)
EndIf
Shapes.Zoom(img, scale, scale)
Shapes.Move(img, x, y)

See Also

Other Resources