batik-users@xmlgraphics.apache.org
[Top] [All Lists]

Re: Multi page print support

Subject: Re: Multi page print support
From:
Date: Mon, 22 May 2006 13:25:27 -0400
Hi Sudhakar,

Sudhakar S <yessudhakar@xxxxxxxxxxx> wrote on 05/22/2006 09:34:17 AM:

> > If by Multi-page print support you mean automatic tiling of the 
document 
> > across multiple pages (so if you tape them together they form 
> > the 'oversized' page) then no. 
> 
> I tried to add ?automatic tiling of the document across multiple pages?
> feature in my application. [...] I couldn?t find the document?s width 
and
> height(svgImageWidth, svgImageHeight). I needs know width and height 
when
> user scaled/non scaled the document. So can you please explain how to 
find
> the width and height of the document in scaled/non scaled conditions.

   The width and height of the document is available from:
        Dimension2D BridgeContext.getDocumentSize()

   This is the 'size in pixels' of the rootmost SVG element, if it
has width/height attributes, otherwise it is whatever is returned
by batik.bridge.UserAgent.getViewportSize().


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: batik-users-help@xxxxxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>