Hi Tonny Kohar,

> You also might clone the svg document, then set the width / height of the
> cloned document to be > size you want. 

If i try to get the getCurrentScale() from the cloned document. it doesn't
return the current scale value. it throws following exception in following
line.

AffineTransform scrnTrans = getSVGContext().getScreenTransform();

java.lang.NullPointerException
at
org.apache.batik.dom.svg.SVGOMSVGElement.getCurrentScale(SVGOMSVGElement.java:222)
at
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:239)

Can you please explain why svgContext context value is null? and is there
anyother way to get the currentscale value in SVGAbstractTranscoder?

Thanks,
Sudhakar





--
View this message in context: 
http://www.nabble.com/Multi+page+print+support-t1625300.html#a4621494
Sent from the Batik - Users forum at Nabble.com.


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

Reply via email to