com.spire.doc.fields
Class TextBox
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.fields.shape.ShapeBase
com.spire.doc.fields.ShapeObject
com.spire.doc.fields.TextBox
- All Implemented Interfaces:
- IRunAttrSource, ICompositeObject, IDocumentObject, IParagraphBase, ITextBox
public class TextBox
- extends ShapeObject
- implements ITextBox, ICompositeObject
| Methods inherited from class com.spire.doc.fields.shape.ShapeBase |
getAllowOverlap, getBehindText, getBottom, getDistanceBottom, getDistanceLeft, getDistanceRight, getDistanceTop, getHeight, getHorizontalAlignment, getHorizontalOrigin, getHorizontalPosition, getParentParagraph, getRight, getRotation, getShapeType, getTextWrappingStyle, getTextWrappingType, getVerticalAlignment, getVerticalOrigin, getVerticalPosition, getWidth, getZOrder, hasKey, isImage, localToParent, removeShapeAttribute, setAllowOverlap, setBehindText, setDistanceBottom, setDistanceLeft, setDistanceRight, setDistanceTop, setHeight, setHorizontalAlignment, setHorizontalOrigin, setHorizontalPosition, setRotation, setShapeAttr, setShapeAttribute, setShapeType, setTextWrappingStyle, setTextWrappingType, setVerticalAlignment, setVerticalOrigin, setVerticalPosition, setWidth, setZOrder |
TextBox
public TextBox(IDocument doc)
- Initializes a new instance of the
TextBox class.
- Parameters:
doc - The document.
getChildObjects
public DocumentObjectCollection getChildObjects()
- Gets the child entities.
- Specified by:
getChildObjects in interface ICompositeObject- Overrides:
getChildObjects in class ShapeObject
- Returns:
- The child entities.
getDocumentObjectType
public DocumentObjectType getDocumentObjectType()
- Gets the type of the document object.
- Specified by:
getDocumentObjectType in interface IDocumentObject- Overrides:
getDocumentObjectType in class ShapeObject
- Returns:
- The type of the document object.
getFormat
public TextBoxFormat getFormat()
- Gets the text box format value.
- Specified by:
getFormat in interface ITextBox
- Returns:
- The format value
getBody
public Body getBody()
- Get TextBody value
- Specified by:
getBody in interface ITextBox
- Returns:
- The text body value
getCharacterFormat
public CharacterFormat getCharacterFormat()
- Gets the character format.
- Overrides:
getCharacterFormat in class ShapeObject
- Returns:
- The character format.