Class TextBoxShape
Represents a TextBoxShape.
Implements
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class TextBoxShape : Shape, IDrawingObject
Constructors
TextBoxShape(Document, ShapeType, double, double)
Creates an inline text box with the specified shape type and size in centimetres.
Declaration
public TextBoxShape(Document document, ShapeType shapeType, double widthCm, double heightCm)
Parameters
| Type | Name | Description |
|---|---|---|
| Document | document | |
| ShapeType | shapeType | |
| double | widthCm | |
| double | heightCm |
Properties
Font
Gets font.
Declaration
public DrawingFont Font { get; }
Property Value
| Type | Description |
|---|---|
| DrawingFont |
Text
Gets text.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TextParagraphs
Gets the paragraphs contained by the textbox.
Declaration
public ParagraphCollection TextParagraphs { get; }
Property Value
| Type | Description |
|---|---|
| ParagraphCollection |