Hi Praveen.

Praveen Nayak:
> I have an image in SVG and I use Batik to display that. The user can
> Ctrl + Right Click Drag to rotate the entire image. Is there some way I
> can reset this rotation to 0 degrees using JavaScript code?

Yes, just assign 0 to document.documentElement.currentRotate.

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to