ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word.Canvas Namespace / TextBoxShape Class / TextBoxShape Constructor / TextBoxShape Constructor(IShapeContainer,String,Int32,Int32,Int32,Int32)
IShapeContainer object that owns the shape container.
The text contained in the new TextBoxShape.
The horizontal position of the image with respect to the sheet, in twips.
The vertical position of the image with respect to the sheet, in twips.
The width of the image, in twips.
The height of the image, in twips.

In This Topic
    TextBoxShape Constructor(IShapeContainer,String,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes a new instance of an TextBoxShape.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal container As IShapeContainer, _
       ByVal text As System.String, _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal width As System.Integer, _
       ByVal height As System.Integer _
    )
    public TextBoxShape( 
       IShapeContainer container,
       System.string text,
       System.int x,
       System.int y,
       System.int width,
       System.int height
    )

    Parameters

    container
    IShapeContainer object that owns the shape container.
    text
    The text contained in the new TextBoxShape.
    x
    The horizontal position of the image with respect to the sheet, in twips.
    y
    The vertical position of the image with respect to the sheet, in twips.
    width
    The width of the image, in twips.
    height
    The height of the image, in twips.
    See Also