The image viewer will use Transform when drawing on the canvas. The value of this matrix is re-calculated and maintained whenever the TransformChanged event occur.
Setting a new image, zooming in and applying an effect are all actions that will cause the viewer re-calculate the transformation matrix (Transform) and call OnTransformChanged. This method will call Invalidate and cause the viewer to transition to an invalid state and will require rendering. Invalidate can also be called manually by the user to trigger the viewer to render.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2