SpreadsheetGear 2010
AddTextBox Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IShapes Interface : AddTextBox Method

left
Left edge of the new text box in points.
top
Top edge of the new text box in points.
width
Width of the new text box in points.
height
Height of the new text box in points.
Adds a text box to the shapes collection at the specified position and with the specified size.

Syntax

Visual Basic (Declaration) 
Function AddTextBox( _
   ByVal left As Double, _
   ByVal top As Double, _
   ByVal width As Double, _
   ByVal height As Double _
) As IShape
C# 
IShape AddTextBox( 
   double left,
   double top,
   double width,
   double height
)

Parameters

left
Left edge of the new text box in points.
top
Top edge of the new text box in points.
width
Width of the new text box in points.
height
Height of the new text box in points.

Return Value

A shape object representing the newly created text box.

Remarks

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.