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
- Small Basic Known Issue: 24270 - Shape Image is Not Zoomed Nor Rotated from Center in Remote (TechNet Wiki)