Class ShapeObjectTextCollection
Represents the collection of text for each shape object (textbox, rectangle, etc.).
Inheritance
System.Object
ShapeObjectTextCollection
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.NET.dll
Syntax
public class ShapeObjectTextCollection : Object
Constructors
ShapeObjectTextCollection()
Initializes a new instance of the ShapeObjectTextCollection class.
Declaration
public ShapeObjectTextCollection()
Methods
AddTextBox(Int32, WTextBox)
Add the specified text box to text collection of shape object with the specified shape Id.
Declaration
public void AddTextBox(int shapeId, WTextBox textBox)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | shapeId | The integer that specifie the shape Id. |
WTextBox | textBox | The text box to be added to the collection. |
GetTextBox(Int32)
Returns the textbox with the specified shape Id.
Declaration
public WTextBox GetTextBox(int shapeId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | shapeId | The integer that specifies the shape Id. |
Returns
Type |
---|
WTextBox |