Is there a way to show self defined Object?
I want to show self defined object in report at runtime.
e.g. in TextObject's before print event, show a string or picture at fixed position, but the string or picture is not designed in frx file
e.g. in TextObject's before print event, show a string or picture at fixed position, but the string or picture is not designed in frx file
Comments
You may create a new TextObject in code, like this:
TextObject newObject = new TextObject();
newObject.Bounds = new RectangleF(0, 0, 30 * Units.Millimeters, 10 * Units.Millimeters);
newObject.Text = "new text";
newObject.Parent = Data1; // the name of the band which will contain the new object