I have a servlet for integration with autovue. Servlet can receive parameters for MarkupEntity displaying. When I call writeMarkup() method of markupBean object, size of TextBox MarkupEntity object change, though I don't change its size. This effect is observed, when textBox is on raster image, but not on .dwg image.
In other words, this java code:
OutputStream os = new FileOutputStream(getMarkupFileName());
That is very curious, might want to verify your code is correct
Also it would be interesting to describe how you can tell the markup size changed
besides doing a commit on pending changes, the markup write does not modify the markup