ActiveReports.Design6 Assembly > DataDynamics.ActiveReports.Design Namespace > Designer Class > AddComponent Method : AddComponent(Section,ARControl,Int32) Method |
This method returns false if:
You cannot add the control to the section if a control with the same name has already been added.
Dim control As New TextBox control.Name = "TextBox1" control.Size = New SizeF(1.0F, 1.0F) Me.arDesigner.AddComponent(Me.arDesigner.Report.Sections(0), control, 0)
TextBox control = new TextBox(); control.Name="TextBox1"; control.Size = new SizeF(1f,1f); this.arDesigner.AddComponent(this.arDesigner.Report.Sections[0], control, 0);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2