Using Infragistics.documents.reports.report.shapes

Posted by bart.syryn on 23-Jun-2016 08:27

Hi, I'm trying to use the Infragistics.documents.reports.report.shapes . Below an example from the Infragistics forum. But I can't get this working in OpenEdge. Has anyone succesfully used these shapes ? Also I need to add it to a tabpage: THIS-OBJECT:ultraTabPageAlg:Controls:Add(InfraRectangle). ' Add a new Rectangle to the Site's shape factory. Dim rectangle As Infragistics.Documents.Reports.Report.Shapes.IRectangle = _ shapesSite.Shapes.AddRectangle() ' Fill the rectangle with the color green. rectangle.Brush = Brushes.Green ' The outline of the rectangle will be black. rectangle.Pen = Pens.Black ' Set the height and width of the rectangle. rectangle.Height = 100 rectangle.Width = 400 ' Round the corners of the rectangle. rectangle.Radius = 5 ' Place the rectangle on the Site at the coordinates 0,0. ' This will place the rectangle's upper-left point here. ' The same goes for all other binding rectangles of shapes. rectangle.X = 0 rectangle.Y = 0 Kind regards Bart S.

All Replies

This thread is closed