[]
        
(Showing Draft Content)

C1.WPF.Word.Canvas.TextBoxShape.-ctor

TextBoxShape Constructor

TextBoxShape()

Initializes a new instance of an TextBoxShape.

Declaration
public TextBoxShape()

TextBoxShape(string)

Initializes a new instance of an TextBoxShape.

Declaration
public TextBoxShape(string text)
Parameters
Type Name Description
string text

The text contained in the new TextBoxShape.

TextBoxShape(string, int, int)

Initializes a new instance of an TextBoxShape.

Declaration
public TextBoxShape(string text, int x, int y)
Parameters
Type Name Description
string text

The text contained in the new TextBoxShape.

int x

The horizontal position of the new shape with respect to the cell, in twips.

int y

The vertical position of the new shape with respect to the cell, in twips.

TextBoxShape(string, int, int, int, int)

Initializes a new instance of an TextBoxShape.

Declaration
public TextBoxShape(string text, int x, int y, int width, int height)
Parameters
Type Name Description
string text

The text contained in the new TextBoxShape.

int x

The horizontal position of the image with respect to the cell, in twips.

int y

The vertical position of the image with respect to the cell, in twips.

int width

The width of the image, in twips.

int height

The height of the image, in twips.

TextBoxShape(IShapeContainer, string, int, int, int, int)

Initializes a new instance of an TextBoxShape.

Declaration
public TextBoxShape(IShapeContainer container, string text, int x, int y, int width, int height)
Parameters
Type Name Description
IShapeContainer container

IShapeContainer object that owns the shape container.

string text

The text contained in the new TextBoxShape.

int x

The horizontal position of the image with respect to the sheet, in twips.

int y

The vertical position of the image with respect to the sheet, in twips.

int width

The width of the image, in twips.

int height

The height of the image, in twips.