// <ShapeObject Name="Shape1" Left="56.7" Top="434.7" Width="94.5" Height="94.5" Border.Width="2" Fill.Color="LightCoral" /> FastReport.ShapeObject Shape1 = new FastReport.ShapeObject(); Shape1.Name = "Shape1"; Shape1.Left = FastReport.Utils.Units.Centimeters * 1.5f; Shape1.Top = FastReport.Utils.Units.Centimeters * 11.5f; Shape1.Width = FastReport.Utils.Units.Centimeters * 2.5f; Shape1.Height = FastReport.Utils.Units.Centimeters * 2.5f; Shape1.Border.Width = 2f; FastReport.SolidFill fill4 = new FastReport.SolidFill(); Shape1.Fill = fill4; fill4.Color = Color.LightCoral; Shape1.Parent = Data1;
Comments
watch out, solidfill must be created for each datarow.