Hi Selva,

Try:

GraphicsNode gn = getUpdateManager().getBridgeContext().getGraphicsNode(element);
Rectangle2D gnb = getViewingTransform().createTransformedShape(gn.getBounds()).getBounds();

Regards,
Charles Abreu

On 7/20/06, Selva <[EMAIL PROTECTED]> wrote:
Hi All,

I have zoomed in the document to some extend. After zoomed in, how to get
exact zoomed height and width of the rectangle element. i tried to get using
getBBox(), but i couldn't get the exact size. so anyone please explain, how to
get zoomed rectangle size after zoomed in.

Thanks,
Selva


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



Reply via email to