Depending on the method you use:
- rasterizer application. You'll need to use the '-onload' option. See the http://xml.apache.org/batik/svgrasterizer.html doc:
>> # -onload Controls if the source SVG files must be rasterize after
>> dispatching the 'onload' event.
- transcoding API. There is a transcoding hint for dispatching 'onload': KEY_EXECUTE_ONLOAD. If you set it to Boolean(true), this will do what you want.
Good luck,
Vincent.
Carter, Will wrote:
can't figure out why the rectangle resulting created jpg doesn't move by 350...
when I view the svg, it works, but the converted jpeg is wrong.
any help would be appreciated.
will
<script type="text/ecmascript">
<![CDATA[
function horizontalRelocate(evt,svgWidth)
{
var svgDoc = evt.getTarget().getOwnerDocument()
var svgobjRect1= svgDoc.getElementById("Rect01")
var Rect1XCoor = (.5*svgWidth);
svgobjRect1.setAttribute("x",Rect1XCoor)
}
]]>
</script>
<svg:g onload="horizontalRelocate(evt,700)">
<svg:rect id="Rect01" stroke-width="1pt" x="0" y="100" width="20.0" height="5.0"/>
</svg:g>
Disclaimer - 12/23/2002
This information in this email is confidential and may be legally privileged. It is intended solely for [EMAIL PROTECTED] Access to this Internet email by anyone else is unauthorized.
EnvestnetPMC, Inc. does not accept time-sensitive transactional messages, including orders to buy and sell securities, account allocation instructions, or any other instructions affecting a client account, via e-mail.
If you are not the intended recipient of this email, any disclosure, copying, or distribution of it is prohibited and may be unlawful. If you have received this email in error, please notify the sender and immediately and permanently delete it and destroy any copies of it that were printed out. When addressed to our clients, any opinions or advice contained in this email is subject to the terms and conditions expressed in any applicable governing EnvestnetPMC terms of business or agreements.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
