Class ShapeObjectTextCollection
Represents the collection of text for each shape object (textbox, rectangle, etc.).
Inheritance
System.Object
ShapeObjectTextCollection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
[CLSCompliant(false)]
public class ShapeObjectTextCollection
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 | Description |
---|---|
WTextBox |