cancel
Showing results for 
Search instead for 
Did you mean: 

ReportObject Z location

Former Member
0 Kudos

Hi Everyone,

I am using RAS sdks to insert a picture object into my report (Using PictureObject)

But in the same section I have few TextObjects which are getting hidden by this inserted picture.

Is there any way to move this picture backwards (or moving the textobjects forward)?

Any help on this would be greatly helpful.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

Are you using the ReportClientDocument.ReportDefController.ReportObjectController.Add method?

If so, have you tried specifying 0 as the third parameter?

Former Member
0 Kudos

Thanks for your time.

I am not using the add method. I am using the modify method as given below.

PictureObject newPictureObject = rcd.getReportDefController().getReportObjectController().importPicture(imageLocation, reportSection, 1, 1);

PictureObject newImage = (PictureObject) newPictureObject.clone(true);

newImage.setLeft(10);

newImage.setTop(10);

newImage.setHeight(250) ;

newImage.setWidth(5000);

rcd.getReportDefController().getReportObjectController().modify(newPictureObject, newImage);

Thanks.

Answers (0)