I tried that and it still doesn't set the height and width in the SVG XML. thanks, sriram ----- Original Message ----- From: "Vincent Hardy" <[EMAIL PROTECTED]> To: "Batik Users" <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 2:46 AM Subject: Re: setting with and height for SVG
> Sriram, > > See the setSVGCanvasSize(java.awt.Dimension svgCanvasSize) method > on SVGGraphics2D. > > Thanks, > Vincent. > > > Sriram Nookala wrote: > > > > I'm trying to set the width and height for the SVG generated by the > > SVGGraphics2D since otherwise the default image is 400x400 and the > > image gets clipped off. How do I do this programmatically? I tried > > using the getRoot method of the SVGGraphics2D and manipulating the DOM > > to add the "height" and "width" attributes, but that messed up the > > created SVG DOM. > > thanks, > > sriram > > --------------------------------------------------------------------- > 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]
