maor
May 29th, 2007, 03:03 AM
Posted: 27 May 2007 08:27
Post subject: Change the format of text object in sdk
--------------------------------------------------------------------------------
hello!
when i'm trying to change the format of textobject in skd(using java).
its only change the format of the first object in the textobject.
TextObject p2 = new TextObject();
p2 = (TextObject) allobj.getReportObject(;
TextObject p2old = (TextObject) p2.clone(true);
FontColor p2c = new FontColor();
p2c = (FontColor) p2old.getFontColor();
p2c.setColor(Color.RED);
roc.modify(p2, p2old);
anyone know why?
thanks
Post subject: Change the format of text object in sdk
--------------------------------------------------------------------------------
hello!
when i'm trying to change the format of textobject in skd(using java).
its only change the format of the first object in the textobject.
TextObject p2 = new TextObject();
p2 = (TextObject) allobj.getReportObject(;
TextObject p2old = (TextObject) p2.clone(true);
FontColor p2c = new FontColor();
p2c = (FontColor) p2old.getFontColor();
p2c.setColor(Color.RED);
roc.modify(p2, p2old);
anyone know why?
thanks