Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to access OLE data via API?

I have an OLE object in my report and want to access its display data, e.g. as a bitmap. How would I go about this?

The "PictureData" attribute of the PictureObject I get is always null. Any thoughts?

Former Member

HI John,

As far as I know you cant really get any in depth information about the image itself.

You can get items that pertain to it in relation to the report (ie the height, width, etc).

something like

dim boPicObject as New PictureObject

boPicObject = myRasReport.ReportDefController.ReportDefinition.DetailArea.Sections(0).ReportObjects.Item("myPicture")

dim h as Integer = boPicObject.Height
dim w as Integer = boPicObject.Width


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question