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?
Jason Everly replied
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).
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