Hi, I want to measure the size of text box. The sample code is followed. But it sometimes causes NullPointException error. The problem is that it sometimes happened, but sometimes does not happed. Please give me a solution.
SVGRect trect = ((SVGOMTextElement)rootNE).getBBox(); int cW = (int)trect.getWidth(); Regards.
